-
Notifications
You must be signed in to change notification settings - Fork 246
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
fix internal wave refraction #1458
fix internal wave refraction #1458
Conversation
Codecov Report
@@ Coverage Diff @@
## dev/gfdl #1458 +/- ##
============================================
- Coverage 29.13% 29.12% -0.01%
============================================
Files 235 235
Lines 71038 71045 +7
============================================
Hits 20694 20694
- Misses 50344 50351 +7
Continue to review full report at Codecov.
|
After a chat with @raphaeldussin we came up with the following recommended changes:
We will sit on this one for a bit while Raf looks into some other issues, and will settle on a solution when that other work is finished. |
449a6bc
to
bcbf43c
Compare
The method by @raphaeldussin for computing |
Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/13373 ✔️ |
current code uses halo (or land) points in the computation of the gradient of Internal Wave group velocity, which results in spurious gradients and unexpected refraction close to boundaries. This PR computes IW group velocities on U and V points, discarding contribution from halo or land, before computing the gradient.