Remove global scope access of namelist configurations from science component kernels with feigners (tranche 1) - #440
Draft
Ricky Wong (mo-rickywong) wants to merge 98 commits into
Draft
Conversation
…l run foul of some apps
Co-authored-by: Steve Mullerworth <26165365+stevemullerworth@users.noreply.github.com> Co-authored-by: Thomas Bendall <14180399+tommbendall@users.noreply.github.com>
Co-authored-by: Andrew Coughtrie <24609575+andrewcoughtrie@users.noreply.github.com>
Co-authored-by: Matthew Hambley <MatthewHambley@users.noreply.github.com>
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
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:
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.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.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.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
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