From 586fe6ce19c5fc281dec16be3347d0311f3e99ce Mon Sep 17 00:00:00 2001 From: "Jessica.Meixner" Date: Mon, 14 Sep 2020 14:29:01 +0000 Subject: [PATCH] adding the line to go back a day for RTOFS for the if not NCO section because RTOFS will not be available until 06 cycle --- jobs/JGLOBAL_WAVE_PREP | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jobs/JGLOBAL_WAVE_PREP b/jobs/JGLOBAL_WAVE_PREP index 9c6c8a625f..c15409cb0f 100755 --- a/jobs/JGLOBAL_WAVE_PREP +++ b/jobs/JGLOBAL_WAVE_PREP @@ -76,7 +76,8 @@ if [ $RUN_ENVIR = "nco" ]; then export RPDY=`$NDATE -24 ${PDY}00 | cut -c1-8` export COMIN_WAV_CUR=$(compath.py ${WAVECUR_DID}/prod)/${WAVECUR_DID}.${RPDY} fi -else +else + if [ ! -d $DMPDIR/${WAVECUR_DID}.${RPDY} ]; then export RPDY=`$NDATE -24 ${PDY}00 | cut -c1-8`; fi if [ ! -L $ROTDIR/${WAVECUR_DID}.${RPDY} ]; then # Check if symlink already exists in ROTDIR $NLN $DMPDIR/${WAVECUR_DID}.${RPDY} $ROTDIR/${WAVECUR_DID}.${RPDY} fi