#BSUB -J %E%sref_cleanup_%CYC%
#BSUB -o /%COM%/output/%ENVIR%/today/sref_cleanup_%CYC%.o%J
#BSUB -e /%COM%/output/%ENVIR%/today/sref_cleanup_%CYC%.o%J
#BSUB -cwd /tmpnwprd
#BSUB -L /bin/sh
#BSUB -q %QUEUESERV%
#BSUB -n 1
#BSUB -W 00:30
#BSUB -P %PROJ%
#BSUB -R rusage[mem=1000] -R affinity[core]
%include
%include
set -x
export cyc=%CYC%
# PURPOSE: To execute the SREF Post Processing
# versions file for SREF model $sref_ver
VERSION_FILE=$NWROOT/versions/sref.ver
if [ -f $VERSION_FILE ]; then
. $VERSION_FILE
else
exit
fi
$NWROOT/sref.${sref_ver}/jobs/JSREF_CLEANUP
if [ $? -ne 0 ]; then
ecflow_client --msg="***JOB ${ECF_NAME} ERROR RUNNING J-SCRIPT ***"
ecflow_client --abort
exit
fi
%include
%manual
######################################################################
#
#
######################################################################
######################################################################
# Job specific troubleshooting instructions:
# see generic troubleshoot manual page
#
######################################################################
# include manual page below
%end