Skip to content

Commit

Permalink
Improve the statement
Browse files Browse the repository at this point in the history
 On branch hotfix/fix_forecast_det_1185
	modified:   ush/forecast_det.sh

Refs: NOAA-EMC#1185
  • Loading branch information
XianwuXue-NOAA committed Dec 16, 2022
1 parent 398a3cf commit cc311e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ush/forecast_det.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ FV3_GFS_det(){
#-------------------------------------------------------
# determine if restart IC exists to continue from a previous forecast
RERUN="NO"
filecount=$(find "${RSTDIR_ATM}" -type f | wc -l)
filecount=$(find "${RSTDIR_ATM:-/dev/null}" -type f | wc -l)
if [ ${CDUMP} = "gfs" -a ${rst_invt1} -gt 0 -a ${FHMAX} -gt ${rst_invt1} -a ${filecount} -gt 10 ]; then
reverse=$(echo "${restart_interval[@]} " | tac -s ' ')
for xfh in ${reverse} ; do
Expand Down

0 comments on commit cc311e3

Please sign in to comment.