Skip to content
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

Generate Rocoto YAML file from template #153

Merged
merged 4 commits into from
Oct 22, 2024

Conversation

chan-hoo
Copy link
Collaborator

@chan-hoo chan-hoo commented Oct 16, 2024

Description

  • Generate a Rocoto YAML file from a template YAML file.
  • This makes developers update only one file for multiple machines.
  • The template file is parm/templates/template.land_analysis.yaml.
  • The YAML file for this template is parm/parm_xml_[machine].yaml.
  • One more step is necessary:
cd parm
cp parm_xml_[machine].yaml parm_xml.yaml
vim parm_xml.yaml
(modify this file as needed)
uw template render --input-file templates/template.land_analysis.yaml --values-file parm_xml.yaml --output-file land_analysis.yaml
uw rocoto realize --input-file land_analysis.yaml --output-file land_analysis.xml

Anticipated changes to regression tests:

  • Is baseline change expected ?

Subcomponents involved:

  • apply_incr.fd (NOAA-PSL/land-apply_jedi_incr)
  • ufs_model.fd (ufs-community/ufs-weather-model)
  • none

Linked PR's and Issues:

Resolves Issue #152

Testing (for CM's):

  • RDHPCS
    • Hera
    • Orion
    • Hercules
  • CI
    • Completed
  • WE2E
    • Completed
  • PW-Clouds
    • AWS
    • AZURE
    • GCP

@chan-hoo chan-hoo linked an issue Oct 16, 2024 that may be closed by this pull request
jkbk2004
jkbk2004 previously approved these changes Oct 22, 2024
@chan-hoo chan-hoo merged commit d8acfb4 into ufs-community:develop Oct 22, 2024
2 checks passed
@chan-hoo chan-hoo deleted the feature/xml_yaml branch October 28, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

YAML file for Rocoto XML file can be generated from template
2 participants