Skip to content

Commit

Permalink
FHMAX_WAV_IBP variable check for wavepostbndpnt job
Browse files Browse the repository at this point in the history
- add variable override in exgfs_wave_post_bndpnt.sh for FHMAX_WAV_IBP
- add check to config.wavepostbndpnt for when FHMAX_GFS is less than FHMAX_WAV_IBP;
set FHMAX_WAV_IBP to equal FHMAX_GFS when shorter gfs forecast than 180hrs; resolves
runtime error with wavepostbndpnt job waiting for forecast output that will never arrive

Refs: #238
  • Loading branch information
KateFriedman-NOAA committed Mar 8, 2021
1 parent b644f79 commit a1edf0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions parm/config/config.wavepostbndpnt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ echo "BEGIN: config.wavepostbndpnt"
# Get task specific resources
. $EXPDIR/config.resources wavepostbndpnt

export FHMAX_WAV_IBP=180
if [ $FHMAX_GFS -lt $FHMAX_WAV_IBP ] ; then export FHMAX_WAV_IBP=$FHMAX_GFS ; fi

echo "END: config.wavepostbndpnt"
2 changes: 1 addition & 1 deletion scripts/exgfs_wave_post_bndpnt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# Set wave model ID tag to include member number
# if ensemble; waveMEMB var empty in deterministic
export WAV_MOD_TAG=${CDUMP}wave${waveMEMB}
FHMAX_WAV_IBP=180
FHMAX_WAV_IBP=${FHMAX_WAV_IBP:-180}

postmsg "$jlogfile" "HAS BEGUN on `hostname`"

Expand Down

0 comments on commit a1edf0d

Please sign in to comment.