Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions flow.cylc
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@
{% endif %}

[runtime]
[[root]]
[[[environment]]]
fre_yaml = $CYLC_WORKFLOW_RUN_DIR/{{ YAML }}

[[pp-starter]]
inherit = PP-STARTER
# NOTE! script must appear *before* [[[enviroment]]] or else
Expand Down Expand Up @@ -693,7 +697,6 @@

[[REMAP-PP-COMPONENTS]]
[[[environment]]]
yaml_config = $CYLC_WORKFLOW_RUN_DIR/{{ YAML }}
components = $CYLC_TASK_PARAM_component

[[REMAP-PP-COMPONENTS-TS]]
Expand All @@ -708,7 +711,7 @@
--ts-workaround \
--pp-component=$components \
--copy-tool=$COPY_TOOL \
--yaml-config=$yaml_config \
--yaml-config=$fre_yaml \
--ens-mem=${ens_mem:-""}
"""
[[[environment]]]
Expand Down Expand Up @@ -737,7 +740,7 @@
--product=$product \
--pp-component=$components \
--copy-tool=$COPY_TOOL \
--yaml-config=$yaml_config \
--yaml-config=$fre_yaml \
--ens-mem=${ens_mem:-""}
"""
[[[environment]]]
Expand Down Expand Up @@ -766,7 +769,7 @@
--product=$product \
--pp-component=$components \
--copy-tool=$COPY_TOOL \
--yaml-config=$yaml_config \
--yaml-config=$fre_yaml \
--ens-mem=${ens_mem:-""}
"""
[[[environment]]]
Expand Down Expand Up @@ -852,7 +855,7 @@
mkdir -p $outputDir $remapDir

fre -vv app regrid \
--yamlfile=$yaml_config \
--yamlfile=$fre_yaml \
--input_dir=$inputDir \
--output_dir=$outputDir \
--work_dir=$workDir \
Expand All @@ -864,7 +867,6 @@
# there may be a race condition that causes the fast jobs to fail
execution retry delays = PT1M
[[[environment]]]
yaml_config = $CYLC_WORKFLOW_RUN_DIR/{{ YAML }}
inputDir = $CYLC_WORKFLOW_SHARE_DIR/cycle/$CYLC_TASK_CYCLE_POINT/history/native
outputDir = $CYLC_WORKFLOW_SHARE_DIR/cycle/$CYLC_TASK_CYCLE_POINT/history/regrid-xy
remapDir = $CYLC_WORKFLOW_SHARE_DIR/fregrid-remap-files
Expand Down
Loading