From 3113f1c456531a3caf670eb5f8350f54b538599b Mon Sep 17 00:00:00 2001 From: Jessica Meixner Date: Mon, 6 Jan 2025 18:41:36 -0500 Subject: [PATCH] Update ush/forecast_postdet.sh Co-authored-by: Rahul Mahajan --- ush/forecast_postdet.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ush/forecast_postdet.sh b/ush/forecast_postdet.sh index caf559c5b0..2b72d32080 100755 --- a/ush/forecast_postdet.sh +++ b/ush/forecast_postdet.sh @@ -358,8 +358,8 @@ WW3_postdet() { export WW3_restart_from_binary=false seconds=$(to_seconds "${restart_date:8:2}0000") # convert HHMMSS to seconds local ww3_restart_dest_file="ufs.cpld.ww3.r.${restart_date:0:4}-${restart_date:4:2}-${restart_date:6:2}-${seconds}.nc" - ${NCP} "${ww3_restart_file}" "${DATA}/${ww3_restart_dest_file}" \ - || ( echo "FATAL ERROR: Unable to copy WW3 IC, ABORT!"; exit 1 ) + ${NCP} "${ww3_netcdf_restart_file}" "${DATA}/${ww3_restart_dest_file}" \ + || ( echo "FATAL ERROR: Unable to copy netcdf WW3 IC, ABORT!"; exit 1 ) elif [[ -s "${ww3_binary_restart_file}" ]]; then # found binary ww3 restart file export WW3_restart_from_binary=true