Skip to content

Commit

Permalink
refine the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
HelinWei-NOAA committed May 2, 2024
1 parent a604b61 commit d6887d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ush/gldas_forcing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/.

Expand Down

0 comments on commit d6887d3

Please sign in to comment.