Skip to content

Commit

Permalink
changed com var in exscript and JJob
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonMFernando-NOAA committed Jan 12, 2025
1 parent 098ffe7 commit c31c5cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions jobs/JGLOBAL_ARCHIVE
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,20 @@ for grid in "0p25" "0p50" "1p00"; do
"COMIN_ATMOS_GRIB_${grid}:COM_ATMOS_GRIB_GRID_TMPL"
done


###############################################################
# Create an array of output wave grids to process
if [[ -n "${wavepostGRD}" || -n "${waveinterpGRD}" ]]; then
for grdID in ${wavepostGRD} ${waveinterpGRD}; do
source "${USHgfs}/wave_domain_grid.sh"
process_grdID "${grdID}"
YMD=${PDY} HH=${cyc} GRDRESNAME=${grdNAME} declare_from_tmpl -rx \
"COMIN_WAVE_GRID_${GRDNAME}_${GRDRES}:COM_WAVE_GRID_RES_TMPL"
gCOM+="${GRDNAME}.${GRDRES}"
done
else
echo "Both wavepostGRD and waveinterpGRD are empty. No grids to process."
fi

export gCOM="${gCOM[*]}"
###############################################################
# Run archive script
###############################################################
Expand Down
2 changes: 1 addition & 1 deletion scripts/exglobal_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def main():
'NMEM_ENS', 'DO_JEDIATMVAR', 'DO_VRFY_OCEANDA', 'FHMAX_FITS', 'waveGRD',
'IAUFHRS', 'DO_FIT2OBS', 'NET', 'FHOUT_HF_GFS', 'FHMAX_HF_GFS', 'REPLAY_ICS',
'OFFSET_START_HOUR', 'ARCH_EXPDIR', 'EXPDIR', 'ARCH_EXPDIR_FREQ', 'ARCH_HASHES',
'ARCH_DIFFS', 'SDATE', 'EDATE', 'HOMEgfs']
'ARCH_DIFFS', 'SDATE', 'EDATE', 'HOMEgfs', 'gCOM']

archive_dict = AttrDict()
for key in keys:
Expand Down

0 comments on commit c31c5cb

Please sign in to comment.