Add GH_SCALAR_ARRAY to argument_mod#223
Open
mo-alistairp wants to merge 4 commits intoMetOffice:mainfrom
Open
Conversation
Author
|
Hi @TeranIvy, this should now be ready for review since the equivalent PSyclone change has been merged |
TeranIvy
requested changes
Jan 28, 2026
TeranIvy
left a comment
There was a problem hiding this comment.
Nice work, @mo-alistairp! I would suggest a minor change in metadata reorder, please see inline.
I tested the fork, and all is fine.
TeranIvy
reviewed
Jan 28, 2026
TeranIvy
left a comment
There was a problem hiding this comment.
Retested the updated fork after the review change, and all is fine. Passing to @MetBenjaminWent for code review.
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: @TeranIvy
Code Reviewer: @MetBenjaminWent
This pull request is necessary to add the GH_SCALAR_ARRAY metadata type into LFRic to support arrays of scalars in LFRic. This PR goes alongside the corresponding PSyclone implentation which adds this support (both stfc/PSyclone#1312 and stfc/PSyclone#3101).
Code Quality Checklist
(Some checks are automatically carried out via the CI pipeline)
style guidelines
readability of the code
Testing
using this branch
acceptable (e.g. kgo changes)
tests, unit tests, etc.)
and have been allocated to an appropriate testing group (i.e. the
developer tests are for jobs which use a small amount of compute resource
and complete in a matter of minutes)
trac.log
Test Suite Results - lfric_core - gh_scalar_array_arg_mod/run1
Suite Information
Task Information
✅ succeeded tasks - 372
Security Considerations
Performance Impact
performance measurements have been conducted
AI Assistance and Attribution
of Generative AI tool name (e.g., Met Office Github Copilot Enterprise,
Github Copilot Personal, ChatGPT GPT-4, etc) and I have followed the
Simulation Systems AI policy
(including attribution labels)
Documentation
confirmed that it builds correctly
PSyclone Approval
interface, optimisation scripts, LFRic data structure code) then please
contact the
tooscollabdevteam@metoffice.gov.uk
Sci/Tech Review
Please alert the code reviewer via a tag when you have approved the SR
Code Review