-
Notifications
You must be signed in to change notification settings - Fork 48
Align jedi_lfric_tests linear model/adjoint testing to adjoint_tests and linear_model #156
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
Open
tom-j-h
wants to merge
24
commits into
MetOffice:main
Choose a base branch
from
tom-j-h:align_jedi_lfric_tests_to_linear_model
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Align jedi_lfric_tests linear model/adjoint testing to adjoint_tests and linear_model #156
tom-j-h
wants to merge
24
commits into
MetOffice:main
from
tom-j-h:align_jedi_lfric_tests_to_linear_model
+1,753
−1,937
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…j-h/lfric_apps into align_adjoint_tests_to_linear_model
…test_tolerance_nml
…ted. Need to do jedi_tlm_forecast_tl
…test_tolerance_nml
…tests_to_linear_model
…test_tolerance_nml
…tests_to_linear_model
This was referenced Jan 19, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Summary
Sci/Tech Reviewer:
Code Reviewer:
PLEASE NOTE - this is a follow-on to #132. The branch was created from #132's branch in my fork, but I can't make a PR into that branch because then I would be stuck in my fork. So, to look at the actual changes relevant to this PR alone, look at the diff of this branch with #132's branch: tom-j-h/lfric_apps@jelf_adjoint_test_tolerance_nml...tom-j-h:lfric_apps:align_jedi_lfric_tests_to_linear_model
Similar to #84, but for applications of
jedi_lfric_teststhat use the linear and adjoint models.This change relies on the same small code change in science/adjoint as #84. It is also very useful to be able to set adjoint test tolerance via a namelist variable () for running the strict vs. relaxed adjoint tests, hence the order of branching.
A bug (incorrect adjoint) relating to the incremental wind interpolation added in https://code.metoffice.gov.uk/trac/lfric_apps/ticket/369 has arisen due to the changes here. The specific cause has not been identified. For now, this is switched off. This is not high priority, hence not investigating and fixing it as part of this work. Have opened #128.
The same approach to handling the bug highlighted in #84 (
rrt_equals_dt) is taken here; this has issue #87.linked Avoid
panel_decomposition_modcausing a divide-by-zero lfric_core#227is blocked-by jelf adjoint test tolerance namelist variable #132
blocks #
closes Align jedi_lfric_tests linear model/adjoint testing to adjoint_tests/linear_model #85
Code Quality Checklist
Testing
trac.log
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review