Commit 3ba5a579 authored by Modellers Operational's avatar Modellers Operational

Bug fix transfer restart for hindcast runs

parent 1aead382
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
[runtime] [runtime]
[[root]] [[root]]
env-script = eval $(rose task-env --cycle-offset=P1D) env-script = eval $(rose task-env --cycle-offset=P{{CYCLE_FREQ}}D)
script = rose task-run --verbose script = rose task-run --verbose
[[[job]]] [[[job]]]
execution time limit = PT{{EXECUTION_TIME_LIMIT}}H execution time limit = PT{{EXECUTION_TIME_LIMIT}}H
...@@ -326,9 +326,9 @@ ...@@ -326,9 +326,9 @@
[[transfer_restart]] [[transfer_restart]]
inherit = remote_job inherit = remote_job
script = """ script = """
ln -sf ${ROSE_DATACP1D}/output/${GRID_NAME}_restart_0001.nc ${ROSE_DATAC}/${GRID_NAME}_restart_0001.nc ln -sf ${ROSE_DATACP{{CYCLE_FREQ}}D}/output/${GRID_NAME}_restart_0001.nc ${ROSE_DATAC}/${GRID_NAME}_restart_0001.nc
mkdir -p /pml${RESTART_ARCHIVE_DIR}/${FORECAST_DAY} mkdir -p /pml${RESTART_ARCHIVE_DIR}/${FORECAST_DAY}
cp ${ROSE_DATACP1D}/output/${GRID_NAME}_restart_0001.nc /pml${RESTART_ARCHIVE_DIR}/${FORECAST_DAY}/ cp ${ROSE_DATACP{{CYCLE_FREQ}}D}/output/${GRID_NAME}_restart_0001.nc /pml${RESTART_ARCHIVE_DIR}/${FORECAST_DAY}/
""" """
[[transfer_archive_restart]] [[transfer_archive_restart]]
inherit = remote_job 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