-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add domain level to wave gridded COM path #3137
base: develop
Are you sure you want to change the base?
Add domain level to wave gridded COM path #3137
Conversation
@JessicaMeixner-NOAA Ready to run for multi-grids. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wave_domain_grid.sh
should only need to be sourced once in each job. For consistency, please place it at the job of the j-job right after the j-job header.
Other requests are minor, then we can get this thing tested.
jobs/JGLOBAL_WAVE_PRDGEN_GRIDDED
Outdated
for grdID in ${GEMPAK_GRIDS}; do | ||
source "${USHgfs}/wave_domain_grid.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
for grdID in ${GEMPAK_GRIDS}; do | |
source "${USHgfs}/wave_domain_grid.sh" | |
for grdID in ${GEMPAK_GRIDS}; do |
jobs/JGLOBAL_ARCHIVE
Outdated
for grdID in ${wavepostGRD} ${waveinterpGRD}; do | ||
source "${USHgfs}/wave_domain_grid.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for grdID in ${wavepostGRD} ${waveinterpGRD}; do | |
source "${USHgfs}/wave_domain_grid.sh" | |
for grdID in ${wavepostGRD} ${waveinterpGRD}; do |
jobs/JGLOBAL_WAVE_POST_SBS
Outdated
for grdID in ${wavepostGRD} ${waveinterpGRD}; do | ||
source "${USHgfs}/wave_domain_grid.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the source "${USHgfs}/wave_domain_grid.sh"
right after the jjob header.
for grdID in ${wavepostGRD} ${waveinterpGRD}; do | |
source "${USHgfs}/wave_domain_grid.sh" | |
for grdID in ${wavepostGRD} ${waveinterpGRD}; do |
gfile="${COMIN_WAVE_HISTORY}/${WAV_MOD_TAG}.out_grd.${waveGRD}.${YMD}.${HMS}" | ||
if [[ ! -s "${gfile}" ]]; then | ||
echo " FATAL ERROR : NO RAW FIELD OUTPUT FILE ${gfile}" | ||
err=3; export err; "${errchk}" | ||
exit "${err}" | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gfile="${COMIN_WAVE_HISTORY}/${WAV_MOD_TAG}.out_grd.${waveGRD}.${YMD}.${HMS}" | |
if [[ ! -s "${gfile}" ]]; then | |
echo " FATAL ERROR : NO RAW FIELD OUTPUT FILE ${gfile}" | |
err=3; export err; "${errchk}" | |
exit "${err}" | |
fi | |
gfile="${COMIN_WAVE_HISTORY}/${WAV_MOD_TAG}.out_grd.${waveGRD}.${YMD}.${HMS}" | |
if [[ ! -s "${gfile}" ]]; then | |
echo " FATAL ERROR : NO RAW FIELD OUTPUT FILE ${gfile}" | |
err=3; export err; "${errchk}" | |
exit "${err}" | |
fi |
@@ -8,6 +8,9 @@ echo "BEGIN: config.waveawipsgridded" | |||
# Get task specific resources | |||
. $EXPDIR/config.resources waveawipsgridded | |||
|
|||
export DBNROOT=/dev/null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DBNROOT
is set by config.base
and definitely should not be changed.
export DBNROOT=/dev/null |
echo "${USHgfs}/wave_grib2_sbs.sh $grdID $GRIDNR $MODNR $ymdh $fhr $GRDNAME $GRDRES $gribFL > grib_$grdID.out 2>&1" >> ${fcmdnow} | ||
done | ||
fi | ||
source "${USHgfs}/wave_domain_grid.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source "${USHgfs}/wave_domain_grid.sh" |
for grdID in ${wavepostGRD} # First concatenate grib files for sbs grids | ||
do | ||
gribFL=\'$(echo ${OUTPARS_WAV})\' | ||
source "${USHgfs}/wave_domain_grid.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source "${USHgfs}/wave_domain_grid.sh" |
scripts/exgfs_wave_prdgen_gridded.sh
Outdated
echo "FATAL ERROR Unrecognized input grid ${grid_in}" | ||
exit 2;; | ||
esac | ||
source "${USHgfs}/wave_domain_grid.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source "${USHgfs}/wave_domain_grid.sh" |
scripts/exgfs_wave_prdgen_gridded.sh
Outdated
*) grdID= ;; | ||
esac | ||
# | ||
source "${USHgfs}/wave_domain_grid.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source "${USHgfs}/wave_domain_grid.sh" |
Experiment C96_S2SWA_gefs_replay_ics FAILED on Hera in Build# 1 with error logs:
Follow link here to view the contents of the above file(s): (link) |
Experiment C96_S2SWA_gefs_replay_ics FAILED on Hera in Build# 1 in |
The extractvar job either needs to be removed or updated for the new gridded wave product path. |
CI Failed on Hera in Build# 1
|
Description
This pull request addresses the organization of wave gridded products within the file structure. Currently, all wave gridded products are placed in products/wave/gridded, without any further categorization. To align with the structure used by other component products (such as grib2), this update introduces a domain/resolution directory level to group output more effectively.
For example, instead of having all products in a single directory, the structure will now include specific directories based on domain and resolution (e.g., products/wave/gridded/arctic.9km, products/wave/gridded/global.0p16). This change improves organization and scalability for wave gridded product outputs.
Resolves Add domain level to wave gridded COM path #2677
Type of change
COM_WAVE_GRID_TMPL
updated (or a new template, similar toCOM_ATMOS_GRIB_TMP
andCOM_ATMOS_GRIB_GRID_TMPL
) to include a directory level for the domain and resolutionChange characteristics
How has this been tested?
Checklist