Skip to content

Commit

Permalink
Fix logic error in copying wave restart file
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterKolczynski-NOAA committed Oct 25, 2024
1 parent f2bd9ba commit 872e760
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 @@ -339,7 +339,7 @@ WW3_postdet() {
fi
echo "Copying WW3 restarts for 'RUN=${RUN}' at '${restart_date}' from '${restart_dir}'"
ww3_restart_file="${restart_dir}/${restart_date:0:8}.${restart_date:8:2}0000.restart.ww3"
if [[ ! -f "${ww3_restart_file}" ]]; then
if [[ -f "${ww3_restart_file}" ]]; then
${NCP} "${ww3_restart_file}" "${DATA}/restart.ww3" \
|| ( echo "FATAL ERROR: Unable to copy WW3 IC, ABORT!"; exit 1 )
else
Expand Down

0 comments on commit 872e760

Please sign in to comment.