Skip to content

Commit

Permalink
remove loop in JGLOBAL_WAVE_POST_SBS
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaMeixner-NOAA committed Jan 30, 2025
1 parent a9d8f7e commit ee352fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jobs/JGLOBAL_WAVE_POST_SBS
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
COMIN_WAVE_HISTORY:COM_WAVE_HISTORY_TMPL \
COMOUT_WAVE_GRID:COM_WAVE_GRID_TMPL

for out_dir in "${COMOUT_WAVE_GRID}"; do
if [[ ! -d "${out_dir}" ]]; then mkdir -p "${out_dir}"; fi
done
if [[ ! -d "${COMOUT_WAVE_GRID}" ]]; then mkdir -p "${COMOUT_WAVE_GRID}"; fi

if [[ -n "${wavepostGRD}" || -n "${waveinterpGRD}" ]]; then
for grdID in ${wavepostGRD} ${waveinterpGRD}; do
Expand Down

0 comments on commit ee352fe

Please sign in to comment.