From d6887d32b290fc69a59f5997d57fab6fbbb4e711 Mon Sep 17 00:00:00 2001 From: Helin Wei Date: Thu, 2 May 2024 09:34:16 -0400 Subject: [PATCH] refine the warning message --- ush/gldas_forcing.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ush/gldas_forcing.sh b/ush/gldas_forcing.sh index 2072843..e882269 100755 --- a/ush/gldas_forcing.sh +++ b/ush/gldas_forcing.sh @@ -52,8 +52,8 @@ cpc=$pathp1/$cpc_precip if [ ! -s $cpc ]; then cpc=$pathp2/$cpc_precip ; fi if [ $RUN_ENVIR = "nco" ]; then cpc=$pathp2/$cpc_precip ; fi if [ ! -s $cpc ]; then - echo "FATAL ERROR: GLDAS MISSING $cpc, WILL NOT RUN." - exit 2 + echo "WARNING: GLDAS MISSING ${cpc} and can only run when CPC gauge data is available. Will not run. Exiting." + exit 0 fi cp $cpc $xpath/cpc.$sdate/.