From 7a2df2b887fc14daffac5fe4d1c11770ece8204c Mon Sep 17 00:00:00 2001 From: "Walter.Kolczynski" Date: Tue, 22 Jun 2021 16:30:57 +0000 Subject: [PATCH] Fix NST_SPINUP being ignored by CROW The NSST config file was setting NST_SPINUP to use an environment variable rather than using the value set by the yaml, so values set in the case file were ignored. Refs: #337 --- workflow/config/nsst.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/config/nsst.yaml b/workflow/config/nsst.yaml index d37114b33d..6a188a0377 100644 --- a/workflow/config/nsst.yaml +++ b/workflow/config/nsst.yaml @@ -6,12 +6,12 @@ config_nsst: filename: config.nsst nst_spinup_logic: !FirstTrue - when: !calc doc.nsst.get("NST_SPINUP","") - do: !expand "export NST_SPINUP=$NST_SPINUP" + do: !expand "export NST_SPINUP={doc.nsst.NST_SPINUP}" - otherwise: | export NST_SPINUP=0 #if [[ "$CDATE" = $SDATE ]]; then # export NST_SPINUP=1 - #fi + #fi content: !expand | #!/bin/ksh -x