From 54cc0aaf1e99c782fa7ce85d4b355d574ce2462b Mon Sep 17 00:00:00 2001 From: Kate Friedman Date: Fri, 17 May 2024 09:03:49 -0400 Subject: [PATCH] Additional FATAL ERROR messaging updates (#2606) Update further exit messages in WDQMS script to conform with NCO standards for fatal errors. Refs #2389 --- scripts/exgdas_atmos_analysis_wdqms.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/exgdas_atmos_analysis_wdqms.sh b/scripts/exgdas_atmos_analysis_wdqms.sh index f4162bd30a..73ccfca45a 100755 --- a/scripts/exgdas_atmos_analysis_wdqms.sh +++ b/scripts/exgdas_atmos_analysis_wdqms.sh @@ -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 #-------------------------------------------------------------------------------