Skip to content

*Non-Boussinesq refactoring of brine plumes#500

Merged
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:nonBous_brine_plume
Nov 8, 2023
Merged

*Non-Boussinesq refactoring of brine plumes#500
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:nonBous_brine_plume

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

Revised the recently added brine-plume code to avoid using a vertical sum and to use tv%SpV_avg to determine the brine plume mixing thickness instead of GV%Z_to_H when in non-Boussinesq mode. Several internal brine plume expressions now work in units of H instead of Z, and a total of 5 unit conversion factors were eliminated. This will change certain non-Boussinesq calculations to avoid any dependency on the Boussinesq reference density, but some Boussinesq answers may also be changed and made more robust by avoiding the answer-indeterminate sum() function.

@Hallberg-NOAA Hallberg-NOAA added enhancement New feature or request answer-changing A change in results (actual or potential) labels Oct 12, 2023
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 12, 2023

Codecov Report

Merging #500 (ad556c6) into dev/gfdl (715f53a) will decrease coverage by 0.01%.
The diff coverage is 27.27%.

❗ Current head ad556c6 differs from pull request most recent head 2d28042. Consider uploading reports for the commit 2d28042 to get more accurate results

@@             Coverage Diff              @@
##           dev/gfdl     #500      +/-   ##
============================================
- Coverage     37.46%   37.45%   -0.01%     
============================================
  Files           270      270              
  Lines         79661    79675      +14     
  Branches      14816    14818       +2     
============================================
+ Hits          29843    29846       +3     
- Misses        44288    44299      +11     
  Partials       5530     5530              
Files Coverage Δ
...rc/parameterizations/vertical/MOM_diabatic_aux.F90 58.49% <27.27%> (-0.73%) ⬇️

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

  Revised the recently added brine-plume code to avoid using a vertical sum and
to use tv%SpV_avg to determine the brine plume mixing thickness instead of
GV%Z_to_H when in non-Boussinesq mode. Several internal brine plume expressions
now work in units of H instead of Z, and a total of 5 unit conversion factors
were eliminated. This will change certain non-Boussinesq calculations to avoid
any dependency on the Boussinesq reference density, but some Boussinesq answers
may also be changed and made more robust by avoiding the answer-indeterminate
sum() function.
@marshallward
Copy link
Copy Markdown
Member

@kshedstrom Would you mind reviewing this?

Copy link
Copy Markdown

@kshedstrom kshedstrom left a comment

Choose a reason for hiding this comment

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

I approve this PR. It doesn't change answers in Boussinesq mode.

Copy link
Copy Markdown
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.

@marshallward
Copy link
Copy Markdown
Member

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

@marshallward marshallward merged commit feaeb11 into NOAA-GFDL:dev/gfdl Nov 8, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the nonBous_brine_plume branch May 10, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

answer-changing A change in results (actual or potential) enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants