-
Notifications
You must be signed in to change notification settings - Fork 38
Fix averaging kernel used in stochastic physics filter #222
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
base: main
Are you sure you want to change the base?
Conversation
thomasmelvin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes are correct and will fix the incorrect increments. I was surprised that no KGO's have changed with this fix. do no tests in the developer suite use stochastic physics? do more of the tests need to be run to pick up any other KGO changes?
I should've add the KGO label. It does changed KGOs, but I have bundled these into the linked Apps PR which has a handful of other fixes to the stochastic fixes. |
thomasmelvin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed this was a linked ticket, I'm happy with the changes here and will let the scientific impact of them be reviewed in the related lfric_apps pull request
cameronbateman-mo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good, moving to approved.
PR Summary
Sci/Tech Reviewer: @thomasmelvin
Code Reviewer: @cameronbateman-mo
This fixes the
wth_to_w0_averagekernel, which was using the incorrect multiplicity to average a field from Wtheta to W0. This kernel is used in a 1-2-1 filter in stochastic physics -- the filter is performed a number of times, and the impact of the incorrect multiplicity is that the stochastic physics tendencies were an order of magnitude too small.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 - fix_w0_wth_filter/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
[email protected]
Sci/Tech Review
Please alert the code reviewer via a tag when you have approved the SR
Code Review