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

replace fixed distribution name with templated variable #23

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

RussTreadon-NOAA
Copy link
Contributor

The lgetkf observer and solver steps use different distribution types. Observer runs use RoundRobin. Solver runs use Halo. This PR replaces the currently fixed distribution type, Halo, in observations/atmosphere-lgetkf/ templates with variable distribution_type. This allows the distribution type to be set at runtime.

Resolves #22

@RussTreadon-NOAA
Copy link
Contributor Author

@TravisElless-NOAA and @SamuelDegelia-NOAA , this PR replaces the hardwired Halo distribution

    distribution:
      name: Halo

with a templated variable distribution_type

    distribution:
      name: "{{distribution_type}}"

This change is made to all templates in observations/atmosphere-lgetkf/. With this change we can externally toggle between RoundRobin for the lgetkf observer and Halo for the lgetkf solver. This PR has been tested as part of g-w PR #2833 and GDASApp PR #1252.

If either of you have time, can you review these changes?

Copy link

@SamuelDegelia-NOAA SamuelDegelia-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea @RussTreadon-NOAA, looks good to me!

@RussTreadon-NOAA
Copy link
Contributor Author

Thanks @SamuelDegelia-NOAA for the review and approval!

Copy link

@TravisElless-NOAA TravisElless-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this flexibility @RussTreadon-NOAA

@RussTreadon-NOAA RussTreadon-NOAA merged commit 50a46a0 into NOAA-EMC:develop Aug 16, 2024
1 check failed
@RussTreadon-NOAA RussTreadon-NOAA deleted the feature/ensda_obs branch August 16, 2024 16:40
CoryMartin-NOAA pushed a commit to NOAA-EMC/GDASApp that referenced this pull request Aug 20, 2024
This PR adds prototype templates to run the lgetkf in observation and
solver modes. Doing so necessitates updates to `parm/jcb-algorithms` and
`parm/jcb-gdas`.

The PR also changes the `iodafile` in
`ush/ioda/bufr2ioda/bufr2ioda_acft_profiles_prepbufr.py` to be
consistent with the `jcb-gdas` template.

Resolves #1249 

Dependencies
- jcb-algorithms PR
[#4](NOAA-EMC/jcb-algorithms#4)
 - jcb-gdas PR [#23](NOAA-EMC/jcb-gdas#23)

**DO NOT MERGE THIS PR into GDASApp `develop` until** 
1. the above jcb PRs are merged into their respective `develop`
2. the jcb hashes in this PR are updated
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.

Update jcb templates for local ensemble observer and solver jobs
3 participants