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

(+*)Fix MEKE advection bug #1506

Merged

Conversation

Hallberg-NOAA
Copy link
Collaborator

Added the new runtime option MEKE_ADVECTION_BUG and corrected a bug in the
calculation of the vertically integrated transport for the advection of the
MEKE field when MEKE_ADVECTION_FACTOR > 0. The default is to fix the bug, so
answers can change in some cases by default, and in those cases there are
changes to the MOM_parameter_doc files, but this option is not widely used and
there are no answer changes in the MOM6-examples test suite. This PR addresses
MOM6 issue #1465, which can be closed once this PR is merged into dev/gfdl.

  Added the new runtime option MEKE_ADVECTION_BUG and corrected a bug in the
calculation of the vertically integrated transport for the advection of the
MEKE field when MEKE_ADVECTION_FACTOR > 0.  The default is to fix the bug, so
answers can change in some cases by default, and in those cases there are
changes to the MOM_parameter_doc files, but this option is not widely used and
there are no answer changes in the MOM6-examples test suite.  This PR addresses
MOM6 issue mom-ocean#1465, which can be closed once this PR is merged into dev/gfdl.
@codecov
Copy link

codecov bot commented Oct 1, 2021

Codecov Report

Merging #1506 (9de4dbb) into dev/gfdl (4d3d10e) will decrease coverage by 0.00%.
The diff coverage is 12.50%.

❗ Current head 9de4dbb differs from pull request most recent head e4cdaaf. Consider uploading reports for the commit e4cdaaf to get more accurate results
Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1506      +/-   ##
============================================
- Coverage     29.06%   29.06%   -0.01%     
============================================
  Files           237      237              
  Lines         71643    71649       +6     
============================================
+ Hits          20823    20824       +1     
- Misses        50820    50825       +5     
Impacted Files Coverage Δ
src/parameterizations/lateral/MOM_MEKE.F90 50.21% <12.50%> (-0.30%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d3d10e...e4cdaaf. Read the comment docs.

@marshallward
Copy link
Collaborator

@marshallward marshallward merged commit a384fcc into mom-ocean:dev/gfdl Oct 9, 2021
@Hallberg-NOAA Hallberg-NOAA deleted the MEKE_advection_bugfix branch November 22, 2021 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MEKE advection terms baroHu and baroHv are only integrated over the deepest layer
2 participants