Open KateFriedman-NOAA opened 4 weeks ago
Got some good feedback from reviewers (offline and online). Will ponder feedback and work on updates. Will leave this draft PR open while working on it. Thank you all so far!
Will be making some iterative commits. Please do not rereview until rerequested.
Description
This PR converts the staging job from shell to python. The existing forecast-only
stage_ic
is converted to use python and yaml via jinja parsing. This PR does not impact the existingROTDIR
symlink population done for cycled mode via the setup scripts.Changes in this PR:
scripts/exglobal_stage_ic.sh
toscripts/exglobal_stage_ic.py
.jobs/JGLOBAL_STAGE_IC
to use.py
script extension. MoveGDATE/gPDY/gcyc
settings up to JJOB from ex-script, as well as move upCOM*
variable declarations andMEMDIR[_ARRAY]
settings.PYTHONPATH
export tojobs/rocoto/stage_ic.sh
.parm/stage
folder to hold newly created yamls (*.yaml.j2
) for each initial condition set currently handled in existingscripts/exglobal_stage_ic.sh
. Included yamls for warm start (fv3_warm.yaml.j2
) andDO_NEST=YES
(fv3_nest.yaml.j2
) to retain functionality in existingscripts/exglobal_stage_ic.sh
but have not tested these configurations in forecast-only mode.ush/python/pygfs/task/stage.py
to house staging job python functions for call fromscripts/exglobal_stage_ic.py
.export USE_OCN_PERTURB_FILES=".false."
to gfsconfig.base
; need variable as key in staging job python regardless ofRUN
.stage_ic
job rocoto dependencies from xml. Do not need and removes area of duplicate maintenance.Follow-up PRs will add
stage_ic
job to cycled mode and extended capabilities as needed as part of issue #2475.Resolves #2650
Type of change
Change characteristics
How has this been tested?
Ran the forecast-only CI tests on Hera:
Outputs match CI tests run from
develop
. Logs available for review.Snippet from C48 S2SWA GEFS
stage_ic
job log showing themkdir
and copy ofmem002
files intoROTDIR
: