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

*+Revise non-Boussinesq find_coupling_coef calcs #373

Merged

Conversation

Hallberg-NOAA
Copy link
Member

Restructure one of the find_coupling_coef calculations to draw out the stress-magnitude terms, in preparation for future steps to reduce the dependency on the Boussinesq reference density. Using a value of VERT_FRICTION_ANSWER_DATE that is below 20230601 recovers the previous answers with non-Boussinesq test cases, but this is irrelevant for Boussinesq test cases. This updated code is mathematically equivalent to the previous expressions but it does change answers at roundoff in non-Boussinesq cases for recent answer dates. There are modifications to some comments in MOM_parameter_doc files.

  Restructure one of the find_coupling_coef calculations to draw out the
stress-magnitude terms, in preparation for future steps to reduce the dependency
on the Boussinesq reference density.  Using a value of VERT_FRICTION_ANSWER_DATE
that is below 20230601 recovers the previous answers with non-Boussinesq test
cases, but this is irrelevant for Boussinesq test cases.  This updated code is
mathematically equivalent to the previous expressions but it does change answers
at roundoff in non-Boussinesq cases for recent answer dates.  There are
modifications to some comments in MOM_parameter_doc files.
@codecov
Copy link

codecov bot commented May 26, 2023

Codecov Report

Merging #373 (f4534c0) into dev/gfdl (1faa9ab) will increase coverage by 0.00%.
The diff coverage is 40.00%.

❗ Current head f4534c0 differs from pull request most recent head 206a7af. Consider uploading reports for the commit 206a7af to get more accurate results

@@            Coverage Diff            @@
##           dev/gfdl     #373   +/-   ##
=========================================
  Coverage     38.28%   38.29%           
=========================================
  Files           269      269           
  Lines         76018    76022    +4     
  Branches      13982    13983    +1     
=========================================
+ Hits          29107    29109    +2     
- Misses        41682    41684    +2     
  Partials       5229     5229           
Impacted Files Coverage Δ
...c/parameterizations/vertical/MOM_vert_friction.F90 58.59% <40.00%> (-0.13%) ⬇️

... and 1 file with indirect coverage changes

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

@Hallberg-NOAA Hallberg-NOAA added the answer-changing A change in results (actual or potential) label May 26, 2023
@marshallward
Copy link
Member

marshallward commented Jun 8, 2023

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/19434 ❌ (✔️) 🟡

As expected, answers have changed in the nonBous_global test.

@marshallward marshallward merged commit e672b98 into NOAA-GFDL:dev/gfdl Jun 8, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the nonBous_coupling_coef branch November 8, 2023 23:15
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants