Skip to content

Commit

Permalink
Add exit in init.sh when C768 v16 warm starts detected
Browse files Browse the repository at this point in the history
Exit init.sh and init job when high res C768 v16 warm starts are detected
and running chgres_cube is not needed.

Refs: NOAA-EMC#178
  • Loading branch information
KateFriedman-NOAA committed Mar 22, 2021
1 parent 4f7243b commit 5c77500
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jobs/rocoto/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export RUNICSH=${RUNICSH:-${GDASINIT_DIR}/run_v16.chgres.sh}
# Check if init is needed and run if so
if [[ $gfs_ver = "v16" && $EXP_WARM_START = ".true." && $CASE = "C768" ]]; then
echo "Detected v16 C768 warm starts, will not run init. Exiting..."
exit 0
else
# Run chgres_cube
if [ ! -d $OUTDIR ]; then mkdir -p $OUTDIR ; fi
Expand Down

0 comments on commit 5c77500

Please sign in to comment.