-
Notifications
You must be signed in to change notification settings - Fork 244
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
Brankart PGF update #1193
Brankart PGF update #1193
Conversation
adcroft
commented
Aug 31, 2020
- Adds a diagnostic of the parameterized SGS temperature variance
- Updates the estimate of grid-scale variance, replacing a gradient-along-coordinate squared form by a thickness-weighted least-squares fit. The latter handles coordinates collapsed against topography much better and addresses the spurious behavior we were seeing.
- Adds a diagnostic of the parameterized SGS T variance used in the Brankart correction to the PGF
- The SGS T variance is measure from the grid-scale variance. It should be a horizontal difference but is approximated as along coordinate. This adds thickness weighting to avoid large values near topography.
- One line was too long - Noticed several spelling and grammar problems in comments
Codecov Report
@@ Coverage Diff @@
## dev/gfdl #1193 +/- ##
============================================
- Coverage 46.08% 46.03% -0.05%
============================================
Files 214 224 +10
Lines 69399 70537 +1138
============================================
+ Hits 31984 32474 +490
- Misses 37415 38063 +648
Continue to review full report at Codecov.
|
Closing to solve a restart problem that appeared with the merge |
- The restart tests were failing because land values differ before/after a restart. Adding 2d land masking of h value in the stencil removes the sensitivity.
- A variable was poorly named and also changed units mid-stream. The newly named variable now only has the same units ever.
This PR changes answers in some test cases (e.g., TC2 in .testing), although it does not change any answers in the MOM6-examples test suite. This should have been noted in the comments describing this PR. |
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 have examined these code changes and tested them, and I am convinced that this PR should be merged into dev/gfdl.
Gaea regression test: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/11144 ✔️ |