Skip to content
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

(*)+Use RHO_KV_CONVERT to set non-Boussinesq GV%H_to_m #391

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

Hallberg-NOAA
Copy link
Member

Use RHO_KV_CONVERT instead of RHO_0 to set the non-Boussinesq version of GV%m_to_H, so that there is a mechanism for testing the independence of the fully non-Boussinesq mode from the Boussinesq reference density. With this change, GV%Z_to_H is not guaranteed to be equal to (GV%Z_to_m*GV%m_to_H), with the latter expression preferred when setting parameters. By default the two parameters are the same, and they will probably only ever differ in testing the code. All Boussinesq solutions are bitwise identical, but there are differences in the description of RHO_KV_CONVERT that will appear in MOM_parameter_doc files.

  Use RHO_KV_CONVERT instead of RHO_0 to set the non-Boussinesq version of
GV%m_to_H, so that there is a mechanism for testing the independence of the
fully non-Boussinesq mode from the Boussinesq reference density.  With this
change, GV%Z_to_H is not guaranteed to be equal to (GV%Z_to_m*GV%m_to_H), with
the latter expression preferred when setting parameters. By default the two
parameters are the same, and they will probably only ever differ in testing the
code.  All Boussinesq solutions are bitwise identical, but there are differences
in the description of RHO_KV_CONVERT that will appear in MOM_parameter_doc
files.
@Hallberg-NOAA Hallberg-NOAA added the enhancement New feature or request label Jun 29, 2023
@Hallberg-NOAA Hallberg-NOAA changed the title (*)+Use RHO_KV_CONVERT to set nonBous GV%H_to_m (*)+Use RHO_KV_CONVERT to set non-Boussinesq GV%H_to_m Jun 29, 2023
@codecov
Copy link

codecov bot commented Jun 29, 2023

Codecov Report

Merging #391 (f20451a) into dev/gfdl (37ee5cc) will decrease coverage by 0.01%.
The diff coverage is 42.85%.

❗ Current head f20451a differs from pull request most recent head 7bd00df. Consider uploading reports for the commit 7bd00df to get more accurate results

@@             Coverage Diff              @@
##           dev/gfdl     #391      +/-   ##
============================================
- Coverage     38.20%   38.20%   -0.01%     
============================================
  Files           269      269              
  Lines         76450    76452       +2     
  Branches      14047    14047              
============================================
  Hits          29208    29208              
- Misses        41996    41998       +2     
  Partials       5246     5246              
Impacted Files Coverage Δ
src/core/MOM_verticalGrid.F90 63.20% <42.85%> (-1.22%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@marshallward marshallward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/19851 ✔️ 🟡

@marshallward marshallward merged commit b1210a0 into NOAA-GFDL:dev/gfdl Jul 17, 2023
10 checks passed
@Hallberg-NOAA Hallberg-NOAA deleted the nonBous_H_to_m branch November 8, 2023 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants