From 77e24e21d246160acbb81129ceefbddc6485d16c Mon Sep 17 00:00:00 2001 From: Jessica Meixner Date: Mon, 30 Dec 2024 16:15:51 +0000 Subject: [PATCH] Update ush/forecast_postdet.sh Co-authored-by: David Huber <69919478+DavidHuber-NOAA@users.noreply.github.com> --- ush/forecast_postdet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ush/forecast_postdet.sh b/ush/forecast_postdet.sh index 72fe7ccbbc..2eaed9aca5 100755 --- a/ush/forecast_postdet.sh +++ b/ush/forecast_postdet.sh @@ -361,7 +361,7 @@ WW3_postdet() { first_ww3_restart_out=$(date --utc -d "${first_ww3_restart_out:0:8} ${first_ww3_restart_out:8:2} + ${half_window} hours" +%Y%m%d%H) fi else - #now check to see if a NetCDF restart exists: + # now check to see if a NetCDF restart exists: seconds=$(to_seconds "${restart_date:8:2}0000") # convert HHMMSS to seconds ww3_restart_dest_file="ufs.cpld.ww3.r.${restart_date:0:4}-${restart_date:4:2}-${restart_date:6:2}-${seconds}.nc"