Add a function to create COM-like paths under DATAROOT#4476
Merged
aerorahul merged 7 commits intoNOAA-EMC:developfrom Jan 28, 2026
Merged
Add a function to create COM-like paths under DATAROOT#4476aerorahul merged 7 commits intoNOAA-EMC:developfrom
aerorahul merged 7 commits intoNOAA-EMC:developfrom
Conversation
4 tasks
9 tasks
aerorahul
reviewed
Jan 27, 2026
aerorahul
previously approved these changes
Jan 28, 2026
Contributor
aerorahul
left a comment
There was a problem hiding this comment.
Looks good. Just one suggestion to disable tracing inside the function.
Contributor
Author
|
@aerorahul I have retested this: > COMROOT=/gpfs/f6/drsa-hurr1/world-shared/David.Huber/rt_gsidiags/COMROOT
> DATAROOT=/gpfs/f6/drsa-precip4/world-shared/David.Huber/RUNDIRS/C96C48_hybatmDA_gsidiags/gdas.2021122100
> COMOUT_ATMOS_ANALYSIS=/gpfs/f6/drsa-hurr1/world-shared/David.Huber/rt_gsidiags/COMROOT/C96C48_hybatmDA_gsidiags/gdas.20211221/00//analysis/atmos
> dataroot_com_path ${COMOUT_ATMOS_ANALYSIS}
/gpfs/f6/drsa-precip4/world-shared/David.Huber/RUNDIRS/C96C48_hybatmDA_gsidiags/gdas.2021122100/C96C48_hybatmDA_gsidiags/gdas.20211221/00/analysis/atmosIt gets a little redundant/deep into the DATAROOT, but in operations this would look something like > COMROOT=/lfs/h1/ops/prod/com
> DATAROOT=/lfs/f1/tmp
> COMOUT_ATMOS_ANALYSIS=/lfs/h1/ops/prod/com/gfs/v17/gdas.20211221/00/analysis/atmos
> dataroot_com_path ${COMOUT_ATMOS_ANALYSIS}
/lfs/f1/tmp/gfs/v17.0/gdas.20211221/00/analysis/atmoswhich is the desired outcome. |
JessicaMeixner-NOAA
pushed a commit
to JessicaMeixner-NOAA/global-workflow
that referenced
this pull request
Feb 9, 2026
# Description This adds the `dataroot_com_path` function to bash_utils.sh to create a `COM`-like path in `DATAROOT` space. Resolves NOAA-EMC#4474
DavidHuber-NOAA
added a commit
to DavidHuber-NOAA/global-workflow
that referenced
this pull request
Feb 10, 2026
10 tasks
CatherineThomas-NOAA
pushed a commit
that referenced
this pull request
Feb 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This adds the
dataroot_com_pathfunction to bash_utils.sh to create aCOM-like path inDATAROOTspace.Resolves #4474
Type of change
Change characteristics
How has this been tested?
Tested at the command line on C6:
Checklist
- Not yet. A future PR will use this in CI tests.