Skip to content

Commit

Permalink
Issue NOAA-EMC#94 adding waves-prdgen to gfsv16
Browse files Browse the repository at this point in the history
  • Loading branch information
wx21rph authored and wx21rph committed Aug 19, 2020
1 parent c7a708f commit 1e76093
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions jobs/JWAVE_GEMPAK
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ export SENDCOM=${SENDCOM:-YES}
export SENDDBN=${SENDDBN:-YES}
export SENDECF=${SENDECF:-YES}

export COMINwave=${COMINwave:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}}
export COMOUT=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}/gempak}
#export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})/${cyc}/$COMPONENT}
#export COMOUT=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}/${cyc}/$COMPONENT/gempak}
#export COMINwave=${COMINwave:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}}
#export COMOUTwave=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}/gempak}
export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})/${cyc}/$COMPONENT}
export COMOUT=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}/${cyc}/$COMPONENT/gempak}

if [ ! -f $COMOUT ] ; then
mkdir -p -m 775 $COMOUT
Expand Down
4 changes: 2 additions & 2 deletions jobs/JWAVE_PRDGEN_BULLS
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ module load modulefile_gfswave_prdgen.wcoss_dell_p3
###################################
# Set COM Paths and GETGES environment
###################################
export COMINwave=${COMINwave:-${COMROOT:?}/${COMPONENT}/${envir}}
export COMOUTwave=${COMOUTwave:-${COMROOT:?}/${COMPONENT}/${envir}}
#export COMINwave=${COMINwave:-${COMROOT:?}/${COMPONENT}/${envir}}
#export COMOUTwave=${COMOUTwave:-${COMROOT:?}/${COMPONENT}/${envir}}
export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})/${cyc}/$COMPONENT}
export COMOUT=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}/${cyc}/$COMPONENT/gempak}
export PCOM=${PCOM:-${COMOUT}/wmo}
Expand Down
8 changes: 4 additions & 4 deletions jobs/JWAVE_PRDGEN_GRIDDED
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ module load modulefile_gfswave_prdgen.wcoss_dell_p3
###################################
# Set COM Paths and GETGES environment
###################################
export COMINwave=${COMINwave:-${COMROOT:?}/${COMPONENT}/${envir}}
export COMOUTwave=${COMOUTwave:-${COMROOT:?}/${COMPONENT}/${envir}}
#export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})/${cyc}/$COMPONENT}
#export COMOUT=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}/${cyc}/$COMPONENT/gempak}
#export COMINwave=${COMINwave:-${COMROOT:?}/${COMPONENT}/${envir}}
#export COMOUTwave=${COMOUTwave:-${COMROOT:?}/${COMPONENT}/${envir}}
export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})/${cyc}/$COMPONENT}
export COMOUT=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}/${cyc}/$COMPONENT/gempak}
export PCOM=${PCOM:-${COMOUT}/wmo}

if [ $SENDCOM = YES ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/exwave_nawips.sh.ecf
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ while [ $fhcnt -le $FHMAX_WAV ]; do
*) gridIDin=
grdIDout= ;;
esac
GRIBIN=$COMINwave/$RUNwave.$cycle.$grdIDin.f${fhr}.grib2
GRIBIN=$COMIN/$RUNwave.$cycle.$grdIDin.f${fhr}.grib2
GRIBIN_chk=$GRIBIN.idx
if [ "$grdIDin" = "global.0p25" ]; then
#cp $GRIBIN tempgf.$grdID.f${fhr}
Expand Down
4 changes: 2 additions & 2 deletions scripts/exwave_prdgen_bulls.sh.ecf
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@

# 1. Get necessary files
set +x
echo " Copying bulletins from $COMINwave"
echo " Copying bulletins from $COMIN"
[[ "$LOUD" = YES ]] && set -x

# 1.a Link the input file and untar it
BullIn=$COMINwave/${RUNwave}.$cycle.cbull_tar
BullIn=$COMIN/${RUNwave}.$cycle.cbull_tar
if [ -f $BullIn ]; then
cp $BullIn cbull.tar
else
Expand Down
2 changes: 1 addition & 1 deletion scripts/exwave_prdgen_gridded.sh.ecf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
glo_30m) grdID='global.0p25' ;;
*) grdID= ;;
esac
GRIBIN=$COMINwave/$RUNwave.$cycle.$grdID.f${fhr}.grib2
GRIBIN=$COMIN/$RUNwave.$cycle.$grdID.f${fhr}.grib2
GRIBIN_chk=$GRIBIN.idx

icnt=1
Expand Down

0 comments on commit 1e76093

Please sign in to comment.