Skip to content

Commit

Permalink
Fix AWIPS variable names.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Nov 16, 2023
1 parent 94981b6 commit 8c0b50e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/exgfs_atmos_awips_20km_1p0deg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ for GRID in conus ak prico pac 003; do
export pgm; prep_step
startmsg

if [[ ${GRID} = "003" && $(( fcsthrs % 6 )) == 0 ]]; then
if [[ ${GRID} = "003" && $(( 10#${fcsthrs} % 6 )) == 0 ]]; then
export FORT11="awps_file_f${fcsthrs}_${GRID}"
export FORT31="awps_file_fi${fcsthrs}_${GRID}"
export FORT51="grib2.awpgfs${fcsthrs}.${GRID}"
Expand Down
2 changes: 1 addition & 1 deletion scripts/exgfs_atmos_grib_awips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ if [[ "${SENDDBN}" == 'YES' || "${SENDAWIP}" == 'YES' ]] ; then
"${DBNROOT}/bin/dbn_alert" "${DBNALERT_TYPE}" "${NET}" "${job}" \
"${COM_ATMOS_WMO}/xtrn.awpgfs${fcsthrs}.${GRID}.${job_name}"
else
echo "File ${output_grb}.${job_name} not posted to db_net."
echo "File xtrn.awpgfs${fcsthrs}.${GRID}.${job_name} not posted to db_net."
fi

if [[ -e "${pgmout}" ]] ; then
Expand Down

0 comments on commit 8c0b50e

Please sign in to comment.