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 <aerorahul@users.noreply.github.com>
  • Loading branch information
JessicaMeixner-NOAA and aerorahul authored Jan 6, 2025
1 parent fd028e6 commit 7e0e134
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ush/forecast_postdet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,9 @@ WW3_out() {
local restart_file
if [[ "${RUN}" == "gfs" || "${RUN}" == "gefs" ]]; then
echo "Copying WW3 restarts for 'RUN=${RUN}' at ${forecast_end_cycle}"
target_file="${forecast_end_cycle:0:8}.${forecast_end_cycle:8:2}0000.restart.ww3.nc"
${NCP} "${DATArestart}/WW3_RESTART/${target_file}" \
"${COMOUT_WAVE_RESTART}/${target_file}"
restart_file="${forecast_end_cycle:0:8}.${forecast_end_cycle:8:2}0000.restart.ww3.nc"
${NCP} "${DATArestart}/WW3_RESTART/${restart_file}" \
"${COMOUT_WAVE_RESTART}/${restart_file}"
fi
fi

Expand Down

0 comments on commit 7e0e134

Please sign in to comment.