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

Correct MLD_EN_VALS rescaling #342

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

Hallberg-NOAA
Copy link
Member

Correct inconsistent dimensional rescaling of the input values of MLD_EN_VALS, setting them all to [R Z3 T-2 ~> J m-2] to reflect that these are energies associated with vertical turbulent mixing. This fixes a rescaling bug when these energies are set to non-default values at runtime, but all answers and output are bitwise identical when no rescaling is used.

  Correct inconsistent dimensional rescaling of the input values of MLD_EN_VALS,
setting them all to [R Z3 T-2 ~> J m-2] to reflect that these are energies
associated with vertical turbulent mixing.  This fixes a rescaling bug when
these energies are set to non-default values at runtime, but all answers and
output are bitwise identical when no rescaling is used.
@Hallberg-NOAA Hallberg-NOAA added the bug Something isn't working label Mar 23, 2023
@codecov
Copy link

codecov bot commented Mar 23, 2023

Codecov Report

Merging #342 (8b20c30) into dev/gfdl (c32be04) will increase coverage by 0.00%.
The diff coverage is 94.11%.

❗ Current head 8b20c30 differs from pull request most recent head 812b730. Consider uploading reports for the commit 812b730 to get more accurate results

@@            Coverage Diff            @@
##           dev/gfdl     #342   +/-   ##
=========================================
  Coverage     37.07%   37.08%           
=========================================
  Files           264      264           
  Lines         74349    74349           
  Branches      13787    13787           
=========================================
+ Hits          27568    27571    +3     
+ Misses        41682    41681    -1     
+ Partials       5099     5097    -2     
Impacted Files Coverage Δ
...parameterizations/vertical/MOM_diabatic_driver.F90 46.31% <93.75%> (ø)
...rc/parameterizations/vertical/MOM_diabatic_aux.F90 61.38% <100.00%> (ø)

... and 1 file with indirect coverage changes

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

Copy link

@breichl breichl left a comment

Choose a reason for hiding this comment

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

I agree with these changes, particularly because they make the energy scaling consistent with the approach in ePBL.

@marshallward
Copy link
Member

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

@marshallward marshallward merged commit f9897c8 into NOAA-GFDL:dev/gfdl Apr 20, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the MLD_En_vals_scaling branch May 10, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants