Skip to content

Commit

Permalink
Additional FATAL ERROR messaging updates (#2606)
Browse files Browse the repository at this point in the history
Update further exit messages in WDQMS script to conform with NCO
standards for fatal errors.

Refs #2389
  • Loading branch information
KateFriedman-NOAA committed May 17, 2024
1 parent 2507361 commit 54cc0aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/exgdas_atmos_analysis_wdqms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ export err=$?
for diagfile in "${INPUT_LIST[@]}"; do
tar -xvf "${CNVSTAT}" "${diagfile}.gz"
export err=$?
(( err != 0 )) && ( msg="Unable to extract '${diagfile}.gz' from '${CNVSTAT}'"; err_exit "${msg}" )
(( err != 0 )) && ( msg="FATAL ERROR: Unable to extract '${diagfile}.gz' from '${CNVSTAT}', ABORT!"; err_exit "${msg}" )
gunzip "${diagfile}.gz"
export err=$?
(( err != 0 )) && ( msg="Unable to gunzip '${diagfile}.gz'"; err_exit "${msg}" )
(( err != 0 )) && ( msg="FATAL ERROR: Unable to gunzip '${diagfile}.gz', ABORT!"; err_exit "${msg}" )
done

#-------------------------------------------------------------------------------
Expand Down

0 comments on commit 54cc0aa

Please sign in to comment.