(*)tidal_bay_set_OBC_data works with grid rotation#908
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev/gfdl #908 +/- ##
============================================
- Coverage 37.50% 37.49% -0.01%
============================================
Files 306 306
Lines 91794 91814 +20
Branches 17579 17584 +5
============================================
+ Hits 34424 34425 +1
- Misses 50930 50950 +20
+ Partials 6440 6439 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
6684aaf to
4911381
Compare
|
I compiled a code with your three PRs all included since there are no conflict between them. For Tidal bay I got: The line in question is: I see that this array is never allocated when there are no tracers. Tidal bay has no tracers. |
|
I will approve once the no tracers case is handled (see my fix in the shelfwave PR). |
|
I have updated PR #895 to address this problem with an unassociated being referenced with the following simple fix to MOM.F90: |
Modified tidal_bay_set_OBC_data to work properly with grid rotation of 90, 180 or 270 degrees. With these changes the ESMG Tidal_bay test case is now giving bitwise identical answers under grid rotation. This commit does change (and fix) answers when grid rotation is used, but answers are bitwise identical when there is no grid rotation, and there are no changes to any public interfaces.
4911381 to
995ab97
Compare
marshallward
left a comment
There was a problem hiding this comment.
OBO @kshedstrom
(issue raised is due to #895)
|
This PR has passed pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/mom6ci/MOM6/-/pipelines/27720. |
Modified tidal_bay_set_OBC_data to work properly with grid rotation of 90, 180 or 270 degrees. With these changes the ESMG Tidal_bay test case is now giving bitwise identical answers under grid rotation. This commit also corrects a
recently added problem with potentially unallocated arrays being used to test whether a pointer is set to the unrotated tracer reservoirs in cases where there are no tracers. This commit does change (and fix) answers when grid rotation is used, but answers are bitwise identical when there is no grid rotation, and there are no changes to any public interfaces.