Commit 961e112c authored by Mike Bedington's avatar Mike Bedington

Extract CMEMS download to seperate suite

parent 6874b9b3
......@@ -7,9 +7,10 @@ MIN_NODES=4
MAX_NODES=10
FORECAST=True
INITIAL_START_DATE='2018-11-08T00:00:00Z'
FINAL_CYCLE_POINT='+P5D'
INITIAL_START_DATE='2018-11-22T00:00:00Z'
FINAL_CYCLE_POINT='+P2D'
RUNDAYS=1
MAIL_TO='mbe@pml.ac.uk'
## Grid properties and files
GRID_NAME='tamar_v2'
......@@ -44,7 +45,7 @@ CMEMS_DATA_DIR='/data/sthenno1/backup/mbe/Data/CMEMS'
## Required for NEST_FILE
NEST_RUN_SUITE='rose-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='144'
NEST_INTERVAL='24'
# FVCOM namelist settings
EXT_TSTEP='.150'
......
......@@ -25,7 +25,7 @@
{% if BOUNDARY_FORCING == 'TIDAL' %}
start_cycle => generate_tide_forcing => write_run_namelist
{% elif BOUNDARY_FORCING == 'CMEMS' %}
start_cycle => get_CMEMS_data => generate_CMEMS_nest => copy_CMEMS_nest_to_remote => write_run_namelist
start_cycle => CMEMS_download_trigger <download::get_CMEMS_data> => generate_CMEMS_nest => copy_CMEMS_nest_to_remote => write_run_namelist
{% elif BOUNDARY_FORCING == 'NEST_FILE' %}
start_cycle => nest_suite_trigger<{{NEST_RUN_SUITE}}::transfer_data> => get_nest_file => write_run_namelist
{% endif %}
......@@ -56,7 +56,8 @@
[[[job]]]
execution time limit = PT3H
[[[events]]]
mail events = submission timeout, execution timeout
mail events = submission timeout, execution timeout, failed
mail to = {{MAIL_TO}}
submission timeout = P1D
[[[environment]]]
START_DATE=$(rose date --print-format='%Y-%m-%d %H:%M:%S' $CYLC_TASK_CYCLE_POINT)
......@@ -151,7 +152,13 @@
[[generate_tide_forcing]]
inherit = slurm_job_1
[[get_CMEMS_data]]
[[CMEMS_download_trigger]]
script =""
[[[suite state polling]]]
interval = PT1M
max-polls = 1440
[[[job]]]
execution retry delays = 3*PT15M
[[generate_CMEMS_nest]]
[[copy_CMEMS_nest_to_remote]]
inherit = remote_job
......
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