From 1efb3430cb1f4e93f39b105164001c905b4a033e Mon Sep 17 00:00:00 2001 From: Dana Singh Date: Thu, 9 Jan 2025 16:17:51 -0500 Subject: [PATCH] #40 Update `generic.cylc` --- site/generic.cylc | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/site/generic.cylc b/site/generic.cylc index eb90a2e..ba2e0f5 100644 --- a/site/generic.cylc +++ b/site/generic.cylc @@ -18,5 +18,45 @@ submission timeout = P1D [[[environment]]] COPY_TOOL=cp + +# [[SPLIT-NETCDF]] +# pre-script = mkdir -p $outputDir +# +# [[RENAME-SPLIT-TO-PP]] +# pre-script = mkdir -p $outputDir + [[REMAP-PP-COMPONENTS]] pre-script = mkdir -p $outputDir + + [[MAKE-TIMESERIES]] + pre-script = mkdir -p $outputDir + +#{% if DO_TIMEAVGS %} + + [[MAKE-TIMEAVGS]] + pre-script = mkdir -p $outputDir + + [[COMBINE-TIMEAVGS]] + pre-script = mkdir -p $outputDir + +#{% endif %} + +{% if DO_REGRID %} + [[REGRID-XY]] + pre-script = mkdir -p $outputDir +{% endif %} + +{% if DO_MDTF %} + [[mdtf]] + pre-script = mkdir -p $MDTF_TMPDIR + [[[environment]]] + MDTF_TMPDIR = $CYLC_WORKFLOW_SHARE_DIR/mdtf +{% endif %} + +{% if DO_STATICS %} + [[combine-statics]] + pre-script = mkdir -p $outputDir +{% endif %} + + [[CLEAN]] + pre-script = "set -x"