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 cuberoot in ePBL_column #541

Merged
merged 3 commits into from
Feb 5, 2024

Conversation

Hallberg-NOAA
Copy link
Member

Use the new cuberoot() function in place of **(1./3.) to calculate the turbulent velocity vstar in ePBL_column when EPBL_ANSWER_DATE is 20240101 or higher. This is mathematically equivalent to the previous version, but it does change and answers at roundoff and it allows several dimensional scaling factors that had previously been required to be eliminated. All answers are mathematically equivalent, but answers do change if EPBL_ANSWER_DATE is 20240101 or higher and the description of EPBL_ANSWER_DATE changes in some MOM_parameter_doc files.

Copy link

codecov bot commented Jan 10, 2024

Codecov Report

Attention: 33 lines in your changes are missing coverage. Please review.

Comparison is base (736ef16) 37.02% compared to head (011cea3) 37.21%.

Files Patch % Lines
...c/parameterizations/vertical/MOM_energetic_PBL.F90 13.15% 27 Missing and 6 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           dev/gfdl     #541      +/-   ##
============================================
+ Coverage     37.02%   37.21%   +0.19%     
============================================
  Files           270      271       +1     
  Lines         78962    80405    +1443     
  Branches      14669    14992     +323     
============================================
+ Hits          29233    29925     +692     
- Misses        44317    44919     +602     
- Partials       5412     5561     +149     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marshallward
Copy link
Member

Regressions are expected, due to replacement of **3 with cuberoot().

  Use the new cuberoot() function in place of **(1./3.) to calculate the
turbulent velocity vstar in ePBL_column when EPBL_ANSWER_DATE is 20240101 or
higher.  This is mathematically equivalent to the previous version, but it does
change and answers at roundoff and it allows several dimensional scaling factors
that had previously been required to be eliminated.  All answers are
mathematically equivalant, but answers do change if EPBL_ANSWER_DATE is 20240101
or higher and the description of EPBL_ANSWER_DATE changes in some
MOM_parameter_doc files.
@Hallberg-NOAA Hallberg-NOAA added enhancement New feature or request answer-changing A change in results (actual or potential) labels Feb 5, 2024
@marshallward
Copy link
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/22195

This changes in the tests using ePBL, due to cuberoot drop-in.

@marshallward marshallward merged commit 671c85d into NOAA-GFDL:dev/gfdl Feb 5, 2024
10 of 12 checks passed
@Hallberg-NOAA Hallberg-NOAA deleted the cuberoot_ePBL branch May 10, 2024 21:44
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.

2 participants