Skip to content

Commit

Permalink
Update ush/forecast_postdet.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Rahul Mahajan <[email protected]>
  • Loading branch information
JessicaMeixner-NOAA and aerorahul authored Jan 6, 2025
1 parent 596a726 commit d45edf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ush/forecast_postdet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ WW3_postdet() {
#First check to see if netcdf restart exists:
local ww3_binary_restart_file ww3_netcdf_restart_file
ww3_binary_restart_file="${restart_dir}/${restart_date:0:8}.${restart_date:8:2}0000.restart.ww3"
ww3_restart_file="${restart_dir}/${restart_date:0:8}.${restart_date:8:2}0000.restart.ww3.nc"
ww3_netcdf_restart_file="${restart_dir}/${restart_date:0:8}.${restart_date:8:2}0000.restart.ww3.nc"
if [[ -s "${ww3_netcdf_restart_file}" ]]; then
export WW3_restart_from_binary=false
seconds=$(to_seconds "${restart_date:8:2}0000") # convert HHMMSS to seconds
Expand Down

0 comments on commit d45edf5

Please sign in to comment.