Update LfricApps to allow for kernel API changes in Core Science components (Tranche 2) - #778
Draft
Ricky Wong (mo-rickywong) wants to merge 77 commits into
Draft
Ricky Wong (mo-rickywong) wants to merge 77 commits into
Ricky Wong (mo-rickywong) wants to merge 77 commits into
Conversation
…s cleaered out of feigners
29 tasks
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
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:
This is a linked PR, it's primarily to maintain a working test suite after updates to LFRic Core API changes from MetOffice/lfric_core#465. Main aspects of this PR are:
configto the correct locations before configuration variables are required, generally before invokes.mesh_id, they have been migrated to using themesh_object_type, in the order(config, mesh, ...)at the beginning of the argument list.geometry/topologyenumerations are more appropriately accessed from the mesh object in low-level code and not viaconfig%base_mesh. The enumerations are the same for now, and access has been updated when in the vicinity of code being updated in this PR.As the changes here are to maintain a working test-suite, the LFRic apps repository still contains many routines accessing configuration from module scope and using feigners in the corresponding unit tests. Those remaining instances are out of scope on this PR.
Linked PRs
This PR is blocked
base_mesh_configgeology/topologyenumerations #757Code 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