Skip to content

Commit

Permalink
Update scripts/exgfs_atmos_goes_nawips.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Walter Kolczynski - NOAA <[email protected]>
  • Loading branch information
GwenChen-NOAA and WalterKolczynski-NOAA authored Jun 28, 2024
1 parent b84de81 commit dbc5cc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/exgfs_atmos_goes_nawips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ GEMGRD="${RUN2}_${PDY}${cyc}f${fhr3}"
GRIBIN="${COM_ATMOS_GOES}/${model}.${cycle}.${GRIB}${fhr3}${EXT}"
GRIBIN_chk="${GRIBIN}"

if ! wait_for_file "${GRIBIN_chk}" "${sleep_interval}" "${max_tries}"; then
echo "FATAL ERROR: after 1 hour of waiting for ${GRIBIN_chk} file at F${fhr3} to end."
if [[ ! -r "${GRIBIN_chk}" ]]; then
echo "FATAL ERROR: GRIB index file ${GRIBIN_chk} not found!"
export err=7 ; err_chk
exit "${err}"
exit "${err}
fi
cp "${GRIBIN}" "grib${fhr3}"
Expand Down

0 comments on commit dbc5cc2

Please sign in to comment.