Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception handling if anl input not found (#443) #444

Merged
merged 1 commit into from
Feb 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/exgdas_atmos_nceppost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ echo " Aug 20 - Meng - Remove .ecf extentsion per EE2 review."
echo " Sep 20 - Meng - Update clean up files per EE2 review."
echo " Mar 21 - Meng - Update POSTGRB2TBL default setting."
echo " Oct 21 - Meng - Remove jlogfile for wcoss2 transition."
echo " Feb 22 - Lin - Exception handling if anl input not found."
echo "-----------------------------------------------------"
#####################################################################

Expand Down Expand Up @@ -178,6 +179,11 @@ then

fi
rm pgbfile.grib2
else
#### atmanl file not found need failing job
echo " *** FATAL ERROR: No model anl file output "
export err=9
err_chk
fi

#----------------------------------
Expand Down
7 changes: 6 additions & 1 deletion scripts/exgfs_atmos_nceppost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ echo " Mar 21 - Meng - Update POSTGRB2TBL default setting."
echo " Jun 21 - Mao - Instead of err_chk, catch err and print out"
echo " WAFS failure warnings to avoid job crashing"
echo " Oct 21 - Meng - Remove jlogfile for wcoss2 transition."
echo " Feb 22 - Lin - Exception handling if anl input not found."
echo "-----------------------------------------------------"
#####################################################################

Expand Down Expand Up @@ -235,7 +236,11 @@ then
fi
fi
########################## WAFS U/V/T analysis end ##########################

else
#### atmanl file not found need failing job
echo " *** FATAL ERROR: No model anl file output "
export err=9
err_chk
fi

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