diff --git a/jobs/JGDAS_BULLS_NAVY b/jobs/JGDAS_BULLS_NAVY deleted file mode 100755 index 53be2b6db5..0000000000 --- a/jobs/JGDAS_BULLS_NAVY +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -set -xa -export PS4='$SECONDS + ' -date - -############################################ -# GDAS BULLETIN PRODUCT GENERATION -############################################ - -########################################################## -# obtain unique process id (pid) and make temp directory -########################################################## -export DATA=${DATA:-${DATAROOT}/${jobid:?}} -mkdir -p $DATA -cd $DATA - -###################################### -# Set up the cycle variable -###################################### -export cycle=${cycle:-t${cyc}z} - -########################################### -# Run setpdy and initialize PDY variables -########################################### -setpdy.sh -. PDY - -################################ -# Set up the HOME directory -################################ -export HOMEgfs=${HOMEgfs:-${NWROOT}/gfs.${gfs_ver}} -export EXECgfs=${EXECgfs:-$HOMEgfs/exec} -export PARMgfs=${PARMgfs:-$HOMEgfs/parm} -export PARMwmo=${PARMwmo:-$HOMEgfs/parm/wmo} -export PARMproduct=${PARMproduct:-$HOMEgfs/parm/product} -export FIXgfs=${FIXgfs:-$HOMEgfs/gempak/fix} -export USHgfs=${USHgfs:-$HOMEgfs/gempak/ush} -export SRCgfs=${SRCgfs:-$HOMEgfs/scripts} -export FIXgempak=${FIXgempak:-$HOMEgfs/gempak/fix} -export USHgempak=${USHgempak:-$HOMEgfs/gempak/ush} -export UTILgfs=${UTILgfs:-$HOMEgfs/util} - -################################# -# Set up the NET and RUN -################################# -export NET=gfs -export RUN=gdas -export model=gdas - -############################################## -# Define COM directories -############################################## -export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})} -export COMINm1=${COMINm1:-$(compath.py ${NET}/${envir}/${RUN}.${PDYm1})} -export COMINgdas=${COMINgdas:-$(compath.py ${NET}/${envir}/${RUN})} -export COMOUT=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}} -export COMOUTwmo=${COMOUTwmo:-${COMOUT}/${cyc}/wmo} - -if [ $SENDCOM = YES ] ; then - mkdir -m 775 -p $COMOUT $COMOUTwmo -fi - -export pgmout=OUTPUT.$$ - -env - -######################################################## -# Execute the script. -$SRCgfs/exgdas_bulls_navy.sh.ecf -export err=$?; err_chk -######################################################## - -msg="JOB $job HAS COMPLETED NORMALLY!" -postmsg $jlogfile "$msg" - -############################################ -# print exec I/O output -############################################ -if [ -e "$pgmout" ] ; then - cat $pgmout -fi - -################################### -# Remove temp directories -################################### -if [ "$KEEPDATA" != "YES" ] ; then - rm -rf $DATA -fi - -date diff --git a/scripts/exgdas_bulls_navy.sh.ecf b/scripts/exgdas_bulls_navy.sh.ecf deleted file mode 100755 index a018d395de..0000000000 --- a/scripts/exgdas_bulls_navy.sh.ecf +++ /dev/null @@ -1,206 +0,0 @@ -#!/bin/sh -# UTILITY SCRIPT NAME : exgdas_bulls_navy.sh.ecf -# AUTHOR : Lauren Morone and Hua-Lu Pan -# DATE WRITTEN : 04/24/97 -# -# Abstract: This utility script produces the navybull -# bulletins, from the GFS and GDAS datadumps. -# -# Input: none -# -echo "History: April 1997 - First implementation of this utility script" -echo " Jan 2000 - Converted to IBM-SP." -echo " Oct 2005 - Send products to TOC via the NTC." -echo " Jan 2008 - Changed the input file to non-restricted." -echo " Jan 2013 - Converted to WCOSS" -echo " Sep 2015 - Converted to WCOSS on phase 2" -# - -set -xa - -cd $DATA - -# Copy in updated files containing dates and times - -if [ $cyc = '00' ]; then - cp ${COMINm1}/ship.cntl ship.cntl - export err=$? - if [[ $err -ne 0 ]] ; then - echo " File ship.cntl does not exist." - exit $err - fi -else - cp ${COMIN}/ship.cntl ship.cntl - export err=$? - if [[ $err -ne 0 ]] ; then - echo " File ship.cntl does not exist." - exit $err - fi -fi - -# Save original ship.cnrl file that containing dates and times -cp ship.cntl $COMOUT/ship.cntl.${LSB_JOBID}_${cyc} - -# Copy in appropriate parm field - -echo $cyc > parm.job1 - -# Copy in SFCSHP file for use as input data set - -cp ${COMIN}/${cyc}/${RUN}.${cycle}.sfcshp.tm00.bufr_d.nr SFCSHP -export err=$? -if [[ $err -ne 0 ]] ; then - echo " File ${RUN}.${cycle}.sfcshp.tm00.bufr_d.nr does not exist." - exit $err -fi - -export pgm=navybull;. prep_step - -export FORT11=SFCSHP -export FORT12="parm.job1" -export FORT15="ship.cntl" -export FORT51="navybull.part1" - -$EXECgfs/navybull -export err=$?; err_chk - -# -# Do Part II of the datadump. For GFS, the precious six hour data is used -# for GDAS, the next six hour dump is used -# - -case $cyc in - 00) echo 18 > parm.job1 - export COMINgdas=${COMINgdas}.${PDYm1}/18 - cp $COMINgdas/${RUN}.t18z.sfcshp.tm00.bufr_d.nr SFCSHP - export err=$? - if [[ $err -ne 0 ]] ; then - echo " File ${RUN}.t18z.sfcshp.tm00.bufr_d.nr does not exist." - exit $err - fi ;; - - 12) echo 06 > parm.job1 - export COMINgdas=${COMINgdas}.${PDY}/06 - cp $COMINgdas/${RUN}.t06z.sfcshp.tm00.bufr_d.nr SFCSHP - export err=$? - if [[ $err -ne 0 ]] ; then - echo " File ${RUN}.t06z.sfcshp.tm00.bufr_d.nr does not exist." - exit $err - fi ;; -esac - -export pgm=navybull;. prep_step - -export FORT11="SFCSHP" -export FORT12="parm.job1" -export FORT15="ship.cntl" -export FORT51="navybull.part2" - -$EXECgfs/navybull -export err=$?; err_chk - -# -# Now cat the two parts together to make the final bulletin -# - -cp navybull.part1 navybull.tran.${cyc} -err1=$? - -cat navybull.part2 >> navybull.tran.${cyc} -err2=$? - -# In case no bulletin was made, send a message and get out - -if test $err1 -eq 0 -o $err2 -eq 0; then - - echo 'navybull finished' - - cp ship.cntl ${COMOUT} - - if test $SENDCOM = 'YES' - then - cp ship.cntl $COMOUT/ship.cntl.$cyc - cp navybull.tran.${cyc} $COMOUT/${cyc} - fi - - msg=" navybull bulletin successfully made" - postmsg "$jlogfile" "$msg" - -###################################################### -# this is used for part of the ${COMOUTwmo} file name - jobn=`echo $job|sed 's/[jpt]gdas/gdas/'` - - if test $SENDDBN = 'YES' - then - cp navybull.tran.${cyc} ${COMOUTwmo}/navybull.tran.${cyc}.$jobn - export err=$? - if [[ $err -ne 0 ]] ; then - echo " File navybull.tran.${cyc} does not exist." - exit $err - fi - $UTILgfs/ush/make_ntc_bull.pl WMONV NONE KWBC NONE \ - navybull.tran.${cyc} ${COMOUTwmo}/navybull.tran.${cyc}.$jobn - export err=$? - if [[ $err -ne 0 ]] ; then - echo " File navybull.tran.${cyc} failed to send TOC." - exit $err - fi - - fi - -################################################################### - -else - - msg=" navybull bulletin was not created " - postmsg "$jlogfile" "$msg" - -fi - -############################################ -# START FLOW OF CONTROL -# 1) GRIDBUL - generates GRID Bulletins -############################################ - -if [ $cyc -eq 12 ] ; then - -set -x -msg="HAS BEGUN!" -postmsg "$jlogfile" "$msg" - -########################################### -# 1) Generate gridbulls at 12 UTC -# 2) Extract grib file for ECMWF at 12 UTC -########################################### - - set +x - echo " " - echo "######################################" - echo " Execute GRIDBULL " - echo "######################################" - echo " " - set -x - - # this is used for part of the ${COMOUTwmo} file name - jobn=`echo $job|sed 's/[jpt]gdas/gdas/'` - - cp $UTILgfs/parm/bull_grdbgdas.d$cyc . - export err=$? - if [[ $err -ne 0 ]] ; then - echo " File bull_grdbgdas.d$cyc does not exist." - exit $err - fi - - bullparm=bull_grdbgdas.d$cyc - out=grdbuls.tran.gdas000.${jobn} - - $HOMEgfs/ush/mkbull_ntc.sh "rtgssthr 000" $bullparm $out - export err=$?;err_chk - - msg="HAS COMPLETED NORMALLY!" - echo $msg - postmsg "$jlogfile" "$msg" -else - msg=" GDAS bulletin was not created at ${cyc}z " - postmsg "$jlogfile" "$msg" -fi