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 the setting of ocn_c2_glcshelf based on value of land_ice_flux_mode #2948

Merged
merged 1 commit into from
May 29, 2019

Conversation

jonbob
Copy link
Contributor

@jonbob jonbob commented May 28, 2019

This PR fixes the value of ocn_c2_glcshelf that is passed from mpas-o to the coupler and used to determine whether or not the coupler computes ice sheet melt fluxes. It is now based on all possible values of land_ice_flux_mode and fixes issues with ocean ISMF compsets.

Fixes #2947
[BFB]

@jonbob jonbob added mpas-ocean bug fix PR BFB PR leaves answers BFB labels May 28, 2019
@jonbob jonbob requested a review from matthewhoffman May 28, 2019 18:09
@jonbob jonbob self-assigned this May 28, 2019
@jonbob
Copy link
Contributor Author

jonbob commented May 28, 2019

Passes ERS_P480_Ld5.T62_oEC60to30v3wLI.GMPAS-DIB-IAF-ISMF.anvil_intel

Copy link
Contributor

@matthewhoffman matthewhoffman left a comment

Choose a reason for hiding this comment

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

@jonbob , looks good!

jonbob added a commit that referenced this pull request May 28, 2019
Fix the setting of ocn_c2_glcshelf based on value of land_ice_flux_mode

This PR fixes the value of ocn_c2_glcshelf that is passed from mpas-o to
the coupler and used to determine whether or not the coupler computes
ice sheet melt fluxes. It is now based on all possible values of
land_ice_flux_mode and fixes issues with ocean ISMF compsets.

Fixes #2947
[BFB]
@jonbob
Copy link
Contributor Author

jonbob commented May 28, 2019

merged to next

@jonbob jonbob merged commit 9438ebb into master May 29, 2019
jonbob added a commit that referenced this pull request May 29, 2019
Fix the setting of ocn_c2_glcshelf based on value of land_ice_flux_mode

This PR fixes the value of ocn_c2_glcshelf that is passed from mpas-o to
the coupler and used to determine whether or not the coupler computes
ice sheet melt fluxes. It is now based on all possible values of
land_ice_flux_mode and fixes issues with ocean ISMF compsets.

Fixes #2947
[BFB]
@jonbob
Copy link
Contributor Author

jonbob commented May 29, 2019

merged to master

@jonbob jonbob deleted the jonbob/ocean/fix-ismf branch May 29, 2019 14:30
jgfouca added a commit that referenced this pull request Jun 25, 2019
Improve error/exception handling throughout CIME

Our default CIME error was SystemExit, which was nice for
avoiding tracebacks, but very bad in that it's not a subclass of
Exception. This forced us to use bare excepts and catches for BaseException.

The new CIME error is CIMEError, which is both a SystemExit error and
an Exception.

There are still a few places where we catch BaseException, these are
places where we want to do cleanup, even in the presense of a KeyboardInterrupt.
These places should almost always re-raise after cleanup because keyboard
interrupts should not be swallowed.

Get rid of all bare excepts.

Test suite: scripts_regression_tests
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes #2947

User interface changes?:

Update gh-pages html (Y/N)?:

Code review: @jedwards4b @billsacks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB PR leaves answers BFB bug fix PR mpas-ocean
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compsets with ocean ISMF flag are failing
2 participants