Commit f77111e2 authored by Modellers Operational's avatar Modellers Operational

Add adjust_tides options

parent e6aba03c
...@@ -26,6 +26,8 @@ sigma_file = sys.argv[5] ...@@ -26,6 +26,8 @@ sigma_file = sys.argv[5]
native_coordinates = sys.argv[6] native_coordinates = sys.argv[6]
fvcom_harmonics = sys.argv[7] fvcom_harmonics = sys.argv[7]
interval = 1/float(sys.argv[8]) interval = 1/float(sys.argv[8])
adjust_tides = sys.argv[9].split(',')
constituents = ['M2', 'S2'] constituents = ['M2', 'S2']
output_file = 'boundary_nest.nc'.format(grid) output_file = 'boundary_nest.nc'.format(grid)
...@@ -82,4 +84,4 @@ for this_fvcom, this_var in fvcom_cmems_names.items(): ...@@ -82,4 +84,4 @@ for this_fvcom, this_var in fvcom_cmems_names.items():
aqua_prep.avg_nest_force_vel() aqua_prep.avg_nest_force_vel()
# Write the forcing file # Write the forcing file
aqua_prep.write_nested_forcing(output_file, adjust_tides=['zeta', 'u', 'v', 'ua', 'va']) aqua_prep.write_nested_forcing(output_file, adjust_tides=adjust_tides)
[jinja2:suite.rc] [jinja2:suite.rc]
## Run properties ## Run properties
COLD_START=True COLD_START=False
SEDIMENT=False SEDIMENT=False
USE_CETO=True USE_CETO=True
FORECAST=True FORECAST=True
NODES=10 NODES=10
REMOTE_USER='modop' REMOTE_USER='modop'
INITIAL_START_DATE='2019-02-05T00:00:00Z' INITIAL_START_DATE='2019-05-15T00:00:00Z'
FINAL_CYCLE_POINT='NONE' FINAL_CYCLE_POINT='NONE'
HINDCAST_DAYS=1 HINDCAST_DAYS=1
FORECAST_DAYS=2 FORECAST_DAYS=2
...@@ -18,8 +18,8 @@ MAIL_TO='mbe@pml.ac.uk' ...@@ -18,8 +18,8 @@ MAIL_TO='mbe@pml.ac.uk'
GRID_NAME='tamar_v2' GRID_NAME='tamar_v2'
COMMON_FILES_PATH='/users/modellers/modop/Models/FVCOM_tamar_common/' COMMON_FILES_PATH='/users/modellers/modop/Models/FVCOM_tamar_common/'
ARCHIVE_DIR='data/sthenno1/scratch/modop/Model/FVCOM_tamar/output' ARCHIVE_DIR='data/sthenno1/scratch/modop/Model/FVCOM_tamar/output'
PLOT_DIR='data/sthenno1/scratch/modop/Model/FVCOM_tamar/plots'
REMOTE_ARCHIVE_DIR='/gpfs1/users/modellers/modop/Output/FVCOM_tamar_rolling' REMOTE_ARCHIVE_DIR='/gpfs1/users/modellers/modop/Output/FVCOM_tamar_rolling'
PLOT_DIR='data/sthenno1/scratch/modop/Model/FVCOM_tamar/plots'
TEMP_ACTIVE='T' TEMP_ACTIVE='T'
SALT_ACTIVE='T' SALT_ACTIVE='T'
...@@ -35,7 +35,6 @@ WRF_FORECAST_FILE_DIR='/gpfs1/users/modellers/modop/Models/WRF_transfer_dir/' ...@@ -35,7 +35,6 @@ WRF_FORECAST_FILE_DIR='/gpfs1/users/modellers/modop/Models/WRF_transfer_dir/'
WRF_ARCHIVE_DIR='/data/sthenno1/scratch/modop/Model/WRF/output' WRF_ARCHIVE_DIR='/data/sthenno1/scratch/modop/Model/WRF/output'
WRF_ARCHIVE_DATEFMT='%Y-%m-%d' WRF_ARCHIVE_DATEFMT='%Y-%m-%d'
## River setup ## River setup
## Between 'NONE', 'NEURAL_NET', and 'CLIMATOLOGY' ## Between 'NONE', 'NEURAL_NET', and 'CLIMATOLOGY'
RIVER_MODEL='NEURAL_NET' RIVER_MODEL='NEURAL_NET'
...@@ -57,6 +56,7 @@ DONOR_RESTART_FILE_PATH='/users/modellers/modop/Models/FVCOM_tamar_restart/tamar ...@@ -57,6 +56,7 @@ DONOR_RESTART_FILE_PATH='/users/modellers/modop/Models/FVCOM_tamar_restart/tamar
NEST_RUN_SUITE='fvcom-rosa' NEST_RUN_SUITE='fvcom-rosa'
# The time resolution of the nest output, as divisions of 1 day (i.e. 24 would be hourly, 48 every half hour) # The time resolution of the nest output, as divisions of 1 day (i.e. 24 would be hourly, 48 every half hour)
NEST_INTERVAL='24' NEST_INTERVAL='24'
ADJUST_TIDES='zeta,u,v,ua,va'
# FVCOM namelist settings # FVCOM namelist settings
EXT_TSTEP='.150' EXT_TSTEP='.150'
......
...@@ -117,6 +117,7 @@ ...@@ -117,6 +117,7 @@
CMEMS_DATA_DIR={{CMEMS_DATA_DIR}} CMEMS_DATA_DIR={{CMEMS_DATA_DIR}}
NEST_RUN_SUITE={{NEST_RUN_SUITE}} NEST_RUN_SUITE={{NEST_RUN_SUITE}}
NEST_INTERVAL={{NEST_INTERVAL}} NEST_INTERVAL={{NEST_INTERVAL}}
ADJUST_TIDES={{ADJUST_TIDES}}
EXT_TSTEP={{EXT_TSTEP}} EXT_TSTEP={{EXT_TSTEP}}
ISPLIT={{ISPLIT}} ISPLIT={{ISPLIT}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment