Skip to content

+Add BAROTROPIC_TIDAL_SAL_BUG to fix a tide bug#1508

Merged
marshallward merged 2 commits into
mom-ocean:dev/gfdlfrom
Hallberg-NOAA:tidal_SAL_bugfix
Oct 9, 2021
Merged

+Add BAROTROPIC_TIDAL_SAL_BUG to fix a tide bug#1508
marshallward merged 2 commits into
mom-ocean:dev/gfdlfrom
Hallberg-NOAA:tidal_SAL_bugfix

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Collaborator

Added a runtime flag, BAROTROPIC_TIDAL_SAL_BUG, to fix a sign error in the
tidal self-attraction and loading anomalies in the barotropic solver when tides
are enabled. The default is to keep the previous bug so that answers do not
change, but this default will be changed after solutions have been corrected.
This commit partly addresses MOM6 issue #1496, but it should only be considered
to be properly handled once the default has been changed to avoid this bug.
This commit will change the MOM_parameter_doc files in cases where this bug
matters, but by default all answers are bitwise identical.

  Added a runtime flag, BAROTROPIC_TIDAL_SAL_BUG, to fix a sign error in the
tidal self-attraction and loading anomalies in the barotropic solver when tides
are enabled.  The default is to keep the previous bug so that answers do not
change, but this default will be changed after solutions have been corrected.
This commit partly addresses MOM6 issue mom-ocean#1496, but it should only be considered
to be properly handled once the default has been changed to avoid this bug.
This commit will change the MOM_parameter_doc files in cases where this bug
matters, but by default all answers are bitwise identical.
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 5, 2021

Codecov Report

Merging #1508 (780919f) into dev/gfdl (a384fcc) will increase coverage by 0.00%.
The diff coverage is 81.81%.

Impacted file tree graph

@@            Coverage Diff            @@
##           dev/gfdl    #1508   +/-   ##
=========================================
  Coverage     29.06%   29.07%           
=========================================
  Files           237      237           
  Lines         71649    71658    +9     
=========================================
+ Hits          20824    20831    +7     
- Misses        50825    50827    +2     
Impacted Files Coverage Δ
src/core/MOM_barotropic.F90 37.25% <81.81%> (+0.15%) ⬆️

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 a384fcc...780919f. Read the comment docs.

@marshallward
Copy link
Copy Markdown
Collaborator

https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/13748 ✔️ 🟡

Parameter update required:

  • BAROTROPIC_TIDAL_SAL_BUG

@marshallward marshallward merged commit 7d808b5 into mom-ocean:dev/gfdl Oct 9, 2021
@Hallberg-NOAA Hallberg-NOAA deleted the tidal_SAL_bugfix branch October 25, 2021 22:16
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.

2 participants