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

MOM6: +Corrections to ice shelf-related code (includes PR#1278) #1279

Merged
merged 13 commits into from
Jan 4, 2021

Conversation

Hallberg-NOAA
Copy link
Collaborator

@Hallberg-NOAA Hallberg-NOAA commented Dec 30, 2020

This PR adds runtime parameters that recover the answers to the ISOMIP test
cases that were changed without acknowledgement or documentation as a (small)
part of MOM6 PR#1265, and it adds in two new ice_shelf-related initialization
subroutines that remove the need to call initialize_ice_shelf multiple times.
The changes in MOM6 PR#1278 had not yet been merged into the main branch because
the full regression testing is not working, so that PR has been subsumed into
this larger PR. There are new entries in many MOM_parameter_doc.all files as
a result of this PR, and in cases with the ice shelves enabled all parameters
from the MOM_input files are once again being logged. All answers in the
MOM6-examples test suite, including those of the expensive and infrequently run
test cases, are once again back to their values prior to MOM6 PR#1265.

The self-consistency testing cases tc1-tc3 all pass, but I am still unable to
run tc4 due to python issues, and tc4 might show up as a regression failure due
to recent changes to activate the ice shelf component and the corrections to
recover prior answers in this PR.

The commits in this PR (including those that were in MOM6 PR#1278) include:

MJHarrison-GFDL and others added 12 commits December 21, 2020 12:43
  - Call ice shelf initialization from within initialize_MOM.
  - This removes suppport for rotation.
diagnostics and restarts during the call from initialize_MOM
  Added the routines initialize_ice_shelf_fluxes and initialize_ice_shelf_forces
which call be called from within initialize_ice_shelf or separately, which
removes the need to call initialize_ice_shelf multiple times.  Also added the
new runtime parameters USTAR_SHELF_FROM_VEL and USTAR_SHELF_MAX, which will
enable the previous answers for the ISOMIP test cases to be recovered and will
facilitate the debugging or control of poorly understood instabilities related
to the dynamic or lagged calculation of ustar_shelf.  All answers in the usual
MOM6-examples test cases are bitwise identical, and the ISOMIP test cases are
working once again.
@Hallberg-NOAA Hallberg-NOAA changed the title MOM6: +Corrections to ice shelf-related code (includes PR#1178) MOM6: +Corrections to ice shelf-related code (includes PR#1278) Dec 30, 2020
@codecov-io
Copy link

codecov-io commented Dec 30, 2020

Codecov Report

Merging #1279 (464f39e) into dev/gfdl (353cc63) will increase coverage by 0.00%.
The diff coverage is 6.06%.

Impacted file tree graph

@@            Coverage Diff            @@
##           dev/gfdl    #1279   +/-   ##
=========================================
  Coverage     45.88%   45.89%           
=========================================
  Files           225      225           
  Lines         71422    71400   -22     
=========================================
- Hits          32774    32771    -3     
+ Misses        38648    38629   -19     
Impacted Files Coverage Δ
src/ice_shelf/MOM_ice_shelf.F90 0.00% <0.00%> (ø)
src/ice_shelf/MOM_ice_shelf_diag_mediator.F90 0.00% <0.00%> (ø)
src/core/MOM.F90 65.70% <33.33%> (-0.10%) ⬇️
config_src/solo_driver/MOM_driver.F90 68.69% <62.50%> (-0.66%) ⬇️

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 353cc63...464f39e. Read the comment docs.

  Removed the duplicate register_restart_field call for ISS%h_shelf under the
name "_shelf".  This registration call should have never been there in the first
place.  All answers are bitwise identical, although there are changes to the
restart file contents in cases with an active ice shelf.
Copy link
Contributor

@MJHarrison-GFDL MJHarrison-GFDL left a comment

Choose a reason for hiding this comment

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

@Hallberg-NOAA I agree with these changes and thank you for separating the forcing initialization which is a much simpler and cleaner solution.

@MJHarrison-GFDL MJHarrison-GFDL mentioned this pull request Jan 4, 2021
@adcroft
Copy link
Collaborator

adcroft commented Jan 4, 2021

@adcroft
Copy link
Collaborator

adcroft commented Jan 4, 2021

Tests passed but doc files were changed so I'll handle this manually

@adcroft adcroft self-assigned this Jan 4, 2021
@adcroft adcroft merged commit aebed92 into mom-ocean:dev/gfdl Jan 4, 2021
@Hallberg-NOAA Hallberg-NOAA deleted the ice_shelf_fix branch July 30, 2021 18:08
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.

5 participants