Skip to content

Commit

Permalink
Update scripts/exgdas_atmos_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 c1effb1 commit 9b33676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/exgdas_atmos_nawips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ source_dirvar="COM_ATMOS_GRIB_${grid}"
export GRIBIN="${!source_dirvar}/${model}.${cycle}.pgrb2.${grid}.f${fhr3}"
GRIBIN_chk="${GRIBIN}.idx"

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}"
fi
Expand Down

0 comments on commit 9b33676

Please sign in to comment.