From 8c0b50ee3390617b38213dfffb2e26c18f5f9cd2 Mon Sep 17 00:00:00 2001 From: DavidHuber Date: Thu, 16 Nov 2023 20:41:48 +0000 Subject: [PATCH] Fix AWIPS variable names. --- scripts/exgfs_atmos_awips_20km_1p0deg.sh | 2 +- scripts/exgfs_atmos_grib_awips.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/exgfs_atmos_awips_20km_1p0deg.sh b/scripts/exgfs_atmos_awips_20km_1p0deg.sh index caf7f9cc58..7546f3cabe 100755 --- a/scripts/exgfs_atmos_awips_20km_1p0deg.sh +++ b/scripts/exgfs_atmos_awips_20km_1p0deg.sh @@ -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}" diff --git a/scripts/exgfs_atmos_grib_awips.sh b/scripts/exgfs_atmos_grib_awips.sh index efdd6beb81..037b4ce191 100755 --- a/scripts/exgfs_atmos_grib_awips.sh +++ b/scripts/exgfs_atmos_grib_awips.sh @@ -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