Commit 07915fa9 authored by Modellers Operational's avatar Modellers Operational

Edits to transfer data component to allow for hindcast suite runs

parent d1511831
...@@ -2,7 +2,4 @@ ...@@ -2,7 +2,4 @@
default = dst=/pml${ARCHIVE_DIR}/${START_DAY}; default = dst=/pml${ARCHIVE_DIR}/${START_DAY};
src=${ROSE_DATAC}/output/${GRID_NAME}_0001.nc; src=${ROSE_DATAC}/output/${GRID_NAME}_0001.nc;
ssh ceto6 -t "rsync -aph --no-o --no-g $src $dst"; ssh ceto6 -t "rsync -aph --no-o --no-g $src $dst";
dst=/pml${ARCHIVE_DIR}today;
rm /pml${ARCHIVE_DIR}today/*;
ssh ceto6 -t "rsync -aph --no-o --no-g $src $dst";
[command]
default = dst=/pml${ARCHIVE_DIR}today;
rm /pml${ARCHIVE_DIR}today/*;
ssh ceto6 -t "rsync -aph --no-o --no-g $src $dst";
...@@ -53,7 +53,13 @@ ...@@ -53,7 +53,13 @@
write_cstms_namelist => run_fvcom write_cstms_namelist => run_fvcom
{%- endif %} {%- endif %}
{% if FORECAST %}
write_run_namelist => run_fvcom => transfer_data_today => transfer_data
{% else %}
write_run_namelist => run_fvcom => transfer_data write_run_namelist => run_fvcom => transfer_data
{% endif %}
""" """
[[[+P1D/P1D]]] [[[+P1D/P1D]]]
graph = """ graph = """
...@@ -258,6 +264,8 @@ ...@@ -258,6 +264,8 @@
{%- endif %} {%- endif %}
[[transfer_data]] [[transfer_data]]
inherit = slurm_job_1 inherit = slurm_job_1
[[transfer_data_today]]
inherit = slurm_job_1
[[start_cycle]] [[start_cycle]]
script = """ script = """
echo "starting forecast cycle" echo "starting forecast cycle"
......
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