Skip to content

Commit

Permalink
Merge pull request #100 from RobertoPadilla-NOAA/release/gefs_wave_dbnet
Browse files Browse the repository at this point in the history
Ensuring that DBN alert names are in capital letters
  • Loading branch information
WalterKolczynski-NOAA committed Jul 15, 2020
2 parents c5ea970 + 6b450ac commit f225f7e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/exwave_stat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,8 @@
# 2.g Alert DBN
if [ "$SENDDBN" = 'YES' ]
then
$DBNROOT/bin/dbn_alert MODEL ${NET}_${COMPONENT}_GB2 $job $COMOUT/gridded/${fcopy}
MODCOM=$(echo ${NET}_${COMPONENT} | tr '[a-z]' '[A-Z]')
$DBNROOT/bin/dbn_alert MODEL ${MODCOM}_GB2 $job $COMOUT/gridded/${fcopy}
fi
fi
else
Expand Down Expand Up @@ -676,8 +677,9 @@
#
if [ "$SENDDBN" = 'YES' ]
then
$DBNROOT/bin/dbn_alert MODEL ${NET}_${COMPONENT}_GB2 $job $COMOUT/gridded/${WAV_MOD_TAG}.t${cyc}z.bull_tar
$DBNROOT/bin/dbn_alert MODEL ${NET}_${COMPONENT}_GB2 $job $COMOUT/station/${WAV_MOD_TAG}.t${cyc}z.station_tar
MODCOM=$(echo ${NET}_${COMPONENT} | tr '[a-z]' '[A-Z]')
$DBNROOT/bin/dbn_alert MODEL ${MODCOM}_GB2 $job $COMOUT/gridded/${WAV_MOD_TAG}.t${cyc}z.bull_tar
$DBNROOT/bin/dbn_alert MODEL ${MODCOM}_GB2 $job $COMOUT/station/${WAV_MOD_TAG}.t${cyc}z.station_tar
fi
#
if [ "$exit_code" -ne '0' ]
Expand Down

0 comments on commit f225f7e

Please sign in to comment.