-
Notifications
You must be signed in to change notification settings - Fork 63
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
(*)non-Boussinesq Z unit update_OBC_segment_data #552
(*)non-Boussinesq Z unit update_OBC_segment_data #552
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev/gfdl #552 +/- ##
=========================================
Coverage 37.20% 37.20%
=========================================
Files 271 271
Lines 80475 80473 -2
Branches 15008 15008
=========================================
+ Hits 29942 29943 +1
+ Misses 44961 44958 -3
Partials 5572 5572 ☔ View full report in Codecov by Sentry. |
726e9b0
to
d77fe7c
Compare
This pull request was amended to also add descriptions of 25 internal variables in this module or their units, and to correct a number of instances of code that did not adhere to the guidance in the MOM_style_guide. |
Revised the update_OBC_segment_data code to keep the z-space input data in height units ([Z ~> m]) rather than rescaling them to thickness units. This change means that the non-Boussinesq open boundary condition calculations avoid using the Boussinesq reference density. Associated with this change, 5 internal variables in update_OBC_segment_data were renamed to reflect that they are layer vertical extents instead of thicknesses. Also added or amended comments describing the purpose and units of 25 real variables in this module and corrected a handful of lines in this module that were not adhering to the guidance in the MOM6 style guide. Answers are bitwise identical in any Boussinesq cases. However, answers will change in any non-Boussinesq cases that use open boundary conditions that use time_interp_extrnal to read in Z-space data.
d77fe7c
to
b1f8d78
Compare
Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/22488 ✔️ |
Revised
update_OBC_segment_data()
to keep the z-space input data in height units ([Z ~> m]) rather than rescaling them to thickness units. This change means that the non-Boussinesq open boundary condition calculations avoid using the Boussinesq reference density. Associated with this change, 5 internal variables inupdate_OBC_segment_data()
were renamed to reflect that they are layer vertical extents instead of thicknesses. Answers are bitwise identical in any Boussinesq cases. However, answers will change in any non-Boussinesq cases that use open boundary conditions that usetime_interp_extrnal()
to read in Z-space data.