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]
native_coordinates = sys.argv[6]
fvcom_harmonics = sys.argv[7]
interval = 1/float(sys.argv[8])
adjust_tides = sys.argv[9].split(',')
constituents = ['M2', 'S2']
output_file = 'boundary_nest.nc'.format(grid)
......@@ -82,4 +84,4 @@ for this_fvcom, this_var in fvcom_cmems_names.items():
aqua_prep.avg_nest_force_vel()
# 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]
## Run properties
COLD_START=True
COLD_START=False
SEDIMENT=False
USE_CETO=True
FORECAST=True
NODES=10
REMOTE_USER='modop'
INITIAL_START_DATE='2019-02-05T00:00:00Z'
INITIAL_START_DATE='2019-05-15T00:00:00Z'
FINAL_CYCLE_POINT='NONE'
HINDCAST_DAYS=1
FORECAST_DAYS=2
......@@ -18,8 +18,8 @@ MAIL_TO='mbe@pml.ac.uk'
GRID_NAME='tamar_v2'
COMMON_FILES_PATH='/users/modellers/modop/Models/FVCOM_tamar_common/'
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'
PLOT_DIR='data/sthenno1/scratch/modop/Model/FVCOM_tamar/plots'
TEMP_ACTIVE='T'
SALT_ACTIVE='T'
......@@ -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_DATEFMT='%Y-%m-%d'
## River setup
## Between 'NONE', 'NEURAL_NET', and 'CLIMATOLOGY'
RIVER_MODEL='NEURAL_NET'
......@@ -57,6 +56,7 @@ DONOR_RESTART_FILE_PATH='/users/modellers/modop/Models/FVCOM_tamar_restart/tamar
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)
NEST_INTERVAL='24'
ADJUST_TIDES='zeta,u,v,ua,va'
# FVCOM namelist settings
EXT_TSTEP='.150'
......
......@@ -117,6 +117,7 @@
CMEMS_DATA_DIR={{CMEMS_DATA_DIR}}
NEST_RUN_SUITE={{NEST_RUN_SUITE}}
NEST_INTERVAL={{NEST_INTERVAL}}
ADJUST_TIDES={{ADJUST_TIDES}}
EXT_TSTEP={{EXT_TSTEP}}
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