-
Notifications
You must be signed in to change notification settings - Fork 168
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
Convert staging job to python and yaml #2651
Convert staging job to python and yaml #2651
Conversation
- Change the extension of the exglobal_stage ex-script from "sh" to "py". Refs NOAA-EMC#2475
- Update script extension for ex-script from "sh" to "py". - Pull COM* variable declares up from ex-script. Refs NOAA-EMC#2475
Remove the functions and calls to set up symlinks to ICs in ROTDIR. Refs NOAA-EMC#2475
- Add initial new yaml files for staging information - Add new stage.py to python tasks. - Add first draft pythonization of stage ex-script. Much more work is still to be done. Refs NOAA-EMC#2475
Revert changes to workflow/setup_expt.py; will do in later task Refs NOAA-EMC#2475 * upstream/develop: Sea-ice analysis insertion (NOAA-EMC#2584) Refactored archiving (NOAA-EMC#2491) Add remove RUNDIRS step in CI before creating experements (NOAA-EMC#2607)
Also fix to set target and remove source Refs NOAA-EMC#2475
Add target, remove source, and update file info Refs NOAA-EMC#2475
Update to use mkdir and copy instead of target and required Refs NOAA-EMC#2475
If RUN=gefs add keys_gefs to keys. Refs NOAA-EMC#2475
Set to .false. by default; needed for staging job Refs NOAA-EMC#2475
- remove master yaml, no longer using - update fv3_cold, ice, ocean, and wave yamls Refs NOAA-EMC#2475
- Add keys for GEFS - Cleanup Refs NOAA-EMC#2475
- General cleanup - Rework determine_stage function - Rework execute_stage function Refs NOAA-EMC#2475
- Delete da.yaml.j2; will remake in follow-up work - Update fv3_warm.yaml.j2 to not use src/head variables Refs NOAA-EMC#2475
Experiment C96C48_ufs_hybatmDA_13dfad25 FAIL on Wcoss2 at 08/19/24 06:14:29 PM Error logs:
Follow link here to view the contents of the above file(s): (link) |
- Add ratminc.nc to the list of files in the analysis staging yaml. - Remove "gdas" condition for including analysis yaml. Refs NOAA-EMC#2475
|
Automated global-workflow Testing Results:
|
All CI Test Cases Passed on Wcoss2:
|
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!
CI Passed on Hercules in Build# 1
|
659bcbe
into
NOAA-EMC:develop
@NeilBarton-NOAA This PR has just been merged into |
Thanks @KateFriedman-NOAA, I'm currently testing, and I will let you know when I have questions. |
* origin/develop: support ATM forecast only on Azure (NOAA-EMC#2827) Convert staging job to python and yaml (NOAA-EMC#2651) Fixed test on UNAVAILBLE in python Rocoto check (NOAA-EMC#2842)
Edit: just seeing @RussTreadon-NOAA 's issue ... I suspect that's my issue as well, so ignore for now |
* origin/develop: Create JEDI class (NOAA-EMC#2805) Restructure the bufr sounding job (NOAA-EMC#2853) Add an archive task to GEFS system to archive files locally (NOAA-EMC#2816) Reenable Orion Cycling Support (NOAA-EMC#2877) Eliminate race conditions and remove DATAROOT last in cleanup (NOAA-EMC#2893) Update aerosol climatology to 2013-2024 mean (NOAA-EMC#2888) Add ability to run CI test C96_atm3DVar.yaml to Gaea-C5 (NOAA-EMC#2885) Support global-workflow GEFS C48 on Google Cloud (NOAA-EMC#2861) Add 3 and 9 hr increment files to IC staging (NOAA-EMC#2876) Add diffusion/diag B for aerosol DA and some other needed changes (NOAA-EMC#2738) Correct ocean `MOM.res_#` stage copy (NOAA-EMC#2868) Support coupling on AWS (NOAA-EMC#2859) Add JEDI ATM lgetkf observer and solver jobs (NOAA-EMC#2833) Fix gdas build on Gaea and add Gaea to available CI list (NOAA-EMC#2857) Support ATM forecast only on Google (NOAA-EMC#2832) Add GEFS C48 support on AWS (NOAA-EMC#2818) Update omega calculation (NOAA-EMC#2751) Add snow DA update and recentering for the EnKF forecasts (NOAA-EMC#2690) support ATM forecast only on Azure (NOAA-EMC#2827) Convert staging job to python and yaml (NOAA-EMC#2651) Fixed test on UNAVAILBLE in python Rocoto check (NOAA-EMC#2842)
Description
This PR converts the staging job from shell to python and introduces the use of yaml.
Changes in this PR:
scripts/exglobal_stage_ic.sh
toscripts/exglobal_stage_ic.py
.jobs/JGLOBAL_STAGE_IC
to use.py
script extension. MoveCOM*
variable declarations and member loop down into yaml and python respectively. MoveGDATE/gPDY/gcyc
settings up to JJOB from ex-script and replace with newer cycle variables (as done in forecast job).parm/stage
folder to hold newly createdstage.yaml.j2
, which both mimics forecast-only functionality in existingscripts/exglobal_stage_ic.sh
and adds functionality for cycled mode.ush/python/pygfs/task/stage.py
to house staging job python functions for call fromscripts/exglobal_stage_ic.py
.stage_ic
job rocoto dependencies from xml. Do not need and removes area of duplicate maintenance.model_data
tomodel
for issue Change model_data to model in COM templates #2686There will now be distinct
stage_ic
jobs for eachRUN
:gdasstage_ic
,gfsstage_ic
,enkfgdasstage_ic
,stage_ic
(for gefs).Related work was done to set up new symlink folder structure under supported platform
ICSDIR
folder for use by updated staging job.Resolves #2475
Resolves #2650
Resolves #2686
Type of change
Change characteristics
How has this been tested?
Ran all of the CI tests (either just staging jobs or end-to-end) on WCOSS2. Ran some of the CI tests on Hera and Hercules.
Ran some control CI tests from
develop
and compared outputs against test CI from staging branch. Outputs reproduced between control and test.