Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update hera driver script, rm sendmsg
calls in J-job and ex script.
  • Loading branch information
EdwardSafford-NOAA committed Jun 8, 2020
1 parent bca8572 commit feef7c8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

set -x

export PDATE=${PDATE:-2018091712} #binary
#export PDATE=${PDATE:-2018110206} #NetCDF
#export PDATE=${PDATE:-2018091712} #binary
export PDATE=${PDATE:-2018110206} #NetCDF
#############################################################
# Specify whether the run is production or development
#############################################################
Expand Down Expand Up @@ -47,7 +47,7 @@ export radmon_shared_ver=v3.0.0
#############################################################

export RADMON_SUFFIX=${RADMON_SUFFIX:-testrad}
export NWTEST=${NWTEST:-/scratch1/NCEPDEV/da/Edward.Safford/noscrub/ProdGSI/util/Radiance_Monitor/nwprod}
export NWTEST=${NWTEST:-/scratch1/NCEPDEV/da/Edward.Safford/noscrub/GSI/util/Radiance_Monitor/nwprod}

export HOMEgdas=${HOMEgdas:-${NWTEST}/gdas_radmon.${gdas_radmon_ver}}
export HOMEgfs=$HOMEgdas
Expand Down
16 changes: 11 additions & 5 deletions util/Radiance_Monitor/nwprod/gdas_radmon.v3.0.0/jobs/JGDAS_VERFRAD
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,23 @@ export RAD_AREA=${RAD_AREA:-glb}
export biascr=${biascr:-$COMIN/gdas.t${cyc}z.abias}
export radstat=${radstat:-$COMIN/gdas.t${cyc}z.radstat}

msg="JOB HAS STARTED"
postmsg "$jlogfile" "$msg"
echo " "
echo "JOB HAS STARTED"
echo " "


########################################################
# Execute the script.
${RADMONSH:-${SCRgfs}/exgdas_vrfyrad.sh.ecf} ${PDY} ${cyc}
err=$?
[[ $err -ne 0 ]] && exit $err

msg="JOB COMPLETED NORMALLY"
postmsg "$jlogfile" "$msg"
if [[ $err -ne 0 ]] ; then
exit $err
else
echo " "
echo "JOB HAS COMPLETED NORMALLY"
echo " "
fi

################################
# Remove the Working Directory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ if [[ "$VERBOSE" = "YES" ]]; then
echo "end exgdas_vrfyrad.sh.ecf, exit value = ${err}"
fi

msg="${scr} HAS ENDED"
postmsg "$jlogfile" "$msg"
echo "${scr} HAS ENDED"


set +x
exit ${err}
Expand Down

0 comments on commit feef7c8

Please sign in to comment.