Skip to content

Commit

Permalink
modified OUT_GRID
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonMFernando-NOAA committed Jan 13, 2025
1 parent 3078a4e commit 60c5802
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jobs/JGLOBAL_ARCHIVE
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ done

###############################################################
# Create an array of output wave grids to process
export OUT_GRIDS=""
export WAVE_OUT_GRIDS=""
if [[ "${DO_WAVE}" == "YES" ]]; then
# Create a variable for output wave grids to process
if [[ -n "${wavepostGRD}" || -n "${waveinterpGRD}" ]]; then
Expand All @@ -63,10 +63,10 @@ if [[ "${DO_WAVE}" == "YES" ]]; then
"COMIN_WAVE_GRID_${GRDNAME}_${GRDRES}:COM_WAVE_GRID_RES_TMPL"
grids_arr+=("${GRDNAME}.${GRDRES}")
done
export OUT_GRIDS="${grids_arr[*]}"
export WAVE_OUT_GRIDS="${grids_arr[*]}"
else
echo "Both wavepostGRD and waveinterpGRD are empty. No grids to process."
export OUT_GRIDS=""
export WAVE_OUT_GRIDS=""
fi
fi
###############################################################
Expand Down

0 comments on commit 60c5802

Please sign in to comment.