Remove global scope access of namelist configurations from science component kernels with feigners (tranche 1) - #440
Open
Ricky Wong (mo-rickywong) wants to merge 109 commits into
Open
Ricky Wong (mo-rickywong) wants to merge 109 commits into
Ricky Wong (mo-rickywong) wants to merge 109 commits into
Conversation
…l run foul of some apps
Co-authored-by: Benjamin Went <136574563+MetBenjaminWent@users.noreply.github.com>
Co-authored-by: James Bruten <109733895+james-bruten-mo@users.noreply.github.com>
Co-authored-by: Benjamin Went <136574563+MetBenjaminWent@users.noreply.github.com> Co-authored-by: EdHone <edward.hone@metoffice.gov.uk>
Co-authored-by: Benjamin Went <136574563+MetBenjaminWent@users.noreply.github.com>
28 tasks
29 tasks
Ricky Wong (mo-rickywong)
marked this pull request as ready for review
September 4, 2026 08:10
Ricky Wong (mo-rickywong)
requested review from
a team and
Thomas Bendall (tommbendall)
as code owners
September 4, 2026 08:10
Ricky Wong (mo-rickywong)
requested review from
mo-lucy-gordon
and removed request for
a team
September 4, 2026 08:10
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: Steve Mullerworth (@stevemullerworth)
Initial tranche of kernels where module scope access of configuration variables is removed.
Places were
config_typeis passed by argument andmesh_idis used,mesh_idhas been switched to themesh objectas part of a larger switch. In addition the order is changed to maintain consistencyconfig, mesh, .....going forward.Additional changes to core/apps tickets as a result of passing
configvia argument to the correct places so that the configuration variables could be extracted before being passing to the updated kernels in the science component.Spilt off to Decouple base mesh
geometry/topologyenumerations from low level lfric code #463Helper function added
get_mesh_enumsto clean up repetitive code on testing mesh for correct enumeration values. Currently using the same asbase_meshso non-updated code doesn't break. Eventually the enumerations will be hardcoded for science components so that there is no dependency onbase_mesh_config_mod.Kernels addressed
These are updated to pass via argument (and so kernel metadata changes) the namelist variables previous accesed via modules scope. If these have unit-tests, the unit-test file is updated to remove redundant code.
Linked PRs
This PR is blocked
geometry/topologyenumerations from low level lfric code #463Code Quality Checklist
Testing
trac.log
Test Suite Results - lfric_core - ClearFeigners_1/run1
Suite Information
Task Information
✅ succeeded tasks - 433
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