Skip to content

Commit

Permalink
Merge pull request #247 from JessicaMeixner-NOAA/errorcheckwave3
Browse files Browse the repository at this point in the history
Issue #1 and issue #238 - Move errchk from script level to job level for three wave jobs
  • Loading branch information
KateFriedman-NOAA committed Jan 25, 2021
2 parents 676e22f + 52485c4 commit 80ffcfc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions jobs/JGLOBAL_WAVE_GEMPAK
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export COMPONENT=${COMPONENT:-wave}
export machine=${machine:-WCOSS_DELL_P3}
export HOMEgfs=${HOMEgfs:-$(dirname $(dirname $0))}

# Add default errchk = err_chk
export errchk=${errchk:-err_chk}

###################################
# Set COM Paths
export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})/${cyc}/$COMPONENT}
Expand Down
3 changes: 3 additions & 0 deletions jobs/JGLOBAL_WAVE_PRDGEN_BULLS
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export RUN=${RUN:-gfs}
export COMPONENT=${COMPONENT:-wave}
export HOMEgfs=${HOMEgfs:-$(dirname $(dirname $0))} # parent directory of current job card

# Add default errchk = err_chk
export errchk=${errchk:-err_chk}

###################################
# Set COM Paths
export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})/${cyc}/$COMPONENT}
Expand Down
3 changes: 3 additions & 0 deletions jobs/JGLOBAL_WAVE_PRDGEN_GRIDDED
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export RUN=${RUN:-gfs}
export COMPONENT=${COMPONENT:-wave}
export HOMEgfs=${HOMEgfs:-$(dirname $(dirname $0))} # parent directory of current job card

# Add default errchk = err_chk
export errchk=${errchk:-err_chk}

###################################
# Set COM Paths
###################################
Expand Down
3 changes: 0 additions & 3 deletions scripts/exgfs_wave_nawips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ export cycle=${cycle:-t${cyc}z}
export GEMwave=${GEMwave:-$HOMEgfs/gempak}
export FIXwave=${FIXwave:-HOMEgfs/fix}
export DATA=${DATA:-${DATAROOT:?}/${jobid}}

export errchk=${errchk:-err_chk}

if [ ! -d $DATA ];then
mkdir -p $DATA
fi
Expand Down
2 changes: 0 additions & 2 deletions scripts/exgfs_wave_prdgen_bulls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
export USHwave=${USHwave:-$HOMEgfs/ush}
#export EXECcode=${EXECcode:-CODEwave/exec}

export errchk=${errchk:-err_chk}

mkdir -p $DATA
cd $DATA
export wavelog=${DATA}/${RUNwave}_prdgbulls.log
Expand Down
2 changes: 0 additions & 2 deletions scripts/exgfs_wave_prdgen_gridded.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
mkdir -p $DATA
cd $DATA
export wavelog=${DATA}/${COMPONENTwave}_prdggridded.log

export errchk=${errchk:-err_chk}

postmsg "$jlogfile" "HAS BEGUN on `hostname`"
msg="Starting MWW3 GRIDDED PRODUCTS SCRIPT"
Expand Down

0 comments on commit 80ffcfc

Please sign in to comment.