-
Notifications
You must be signed in to change notification settings - Fork 6
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
LETKF for single cycle #256
Conversation
…etkf/suites_questions.yaml to letkf/suite_questions.yaml
…on of ensemble members
…ents with linked background members at cycle start
Thanks so much for adding this @CEgerer93. You can evaluate the Coding Norm and Code Testing failures on Discover. To do that you would install as follows: Swell Code Testing: module use -a /discover/nobackup/drholdaw/opt/modulefiles/core/
module load miniconda/py39_23.3.1
pip install --prefix=/path/to/core/swell/version --no-cache-dir -r requirements-standalone.txt .
module load swell/version
swell_tests_code Python Coding Norms cd /path/to/srd/swell/version
python pycodestyle_run.py The YAML test can't be run on Discover so you have to look at the logs here. It looks like it doesn't like Jinja2 templates in the YAML but what you have is legit. Maybe we should ask @mathomp4 if he knows how to skip a file in the YAML linting. |
Thank you @danholdaway for the reminder on how to locally check the swell/python norms; minor changes, as expected. To be clear, |
@CEgerer93 that is correct. The problem is that we normally build swell with the spack-stack modules so swell is installed in a manner consistent with how things it will run (i.e. JEDI) are built. However I found that flake8, which the test needs, requires some versions of dependencies newer than what's in spack-stack. So until we can add more to the spack-stack modules we have two installs. |
Thanks @mathomp4 that suggestion works and is better than what I was doing since it doesn't diverge from the community maintained action for YAML linting. |
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.
Thanks again for adding this great new feature. Just a few minor things to change please. Also, as I'm reviewing the code I realize that "letkf" might not actually be the correct nomenclature for the suite and tasks etc. Perhaps we should go with LocalEnsembleDa
/ local_ensemble_da
?
src/swell/configuration/jedi/interfaces/geos_atmosphere/geos_atmosphere.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_atmosphere/task_questions.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_atmosphere/task_questions.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_atmosphere/task_questions.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: Dan Holdaway <[email protected]>
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.
Addressed/implemented comments on PR #256.
src/swell/configuration/jedi/interfaces/geos_atmosphere/geos_atmosphere.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_atmosphere/task_questions.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_atmosphere/task_questions.yaml
Outdated
Show resolved
Hide resolved
src/swell/configuration/jedi/interfaces/geos_atmosphere/task_questions.yaml
Outdated
Show resolved
Hide resolved
I sorted out the conflicts and have a few extra comments. |
Co-authored-by: Dan Holdaway <[email protected]>
Co-authored-by: Dan Holdaway <[email protected]>
Co-authored-by: Dan Holdaway <[email protected]>
Addressed suggestions - perhaps the most important being the relocation of obs localization block into |
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.
Thanks for working on this great new feature @CEgerer93.
Just running the tier 1 tests to make sure there is no impact elsewhere https://github.com/GEOS-ESM/swell/actions/runs/6562412615 |
Description
Completes support of LETKF in
geos_atmosphere
for a single cycle.Need to establish conventions for updated ensemble members before cycling in earnest.
Dependencies
No dependencies, though the following needs to be addressed for an error-free
Cylc
workflow described bysuites/letkf/flow.cylc
:EvaObservations
Impact
None.