Repository navigation
Conversation
E3SM's MPAS-Ocean is moving its seawater density and heat capacity to the shared physical constants, so config_density0 and config_specific_heat_sea_water will no longer be in mpaso_in. The ocean heat content, ocean-region time series and conservation tasks read these options and would fail. Add an optional default to NameList.getfloat() and use the matching CIME constants (SHR_CONST_RHOSW and SHR_CONST_CPSW, the same values as the old namelist defaults) when an option is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
TestingMerged with Posted by Claude Code on @xylar's behalf. |
This was referenced Dec 1, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use E3SM's seawater density and heat capacity (
SHR_CONST_RHOSW,SHR_CONST_CPSW) whenconfig_density0orconfig_specific_heat_sea_wateris not in the MPAS-Ocean namelist, as will be the case after E3SM-Project/E3SM#9208.NameList.getfloat()gets an optionaldefaultfor this. The values are the same as the old namelist defaults, so results for older runs do not change.Checklist
api.rst) has any new or modified class, method and/or functions listedTestingcomment in the PR documents testing used to verify the changesFixes #1167
Posted by Claude Code on @xylar's behalf.
🤖 Generated with Claude Code