Add ISSM ice sheet model GridComp to Landice#1203
Draft
agstub wants to merge 199 commits into
Draft
Conversation
added 30 commits
September 16, 2025 10:46
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.
This PR adds a new gridcomp that runs ISSM, the Ice-sheet and Sea-level System Model. The ISSM gridcomp is a child of the Landice gridcomp. This PR was spurred by discussions in this issue, which provides an overview and outlines some other changes and development issues.
Overview of the new ISSM gridcomp:
Imports:
Exports:
Internals:
The ISSM gridcomp does three main things:
Other notes:
*In the mesh tile space, fields are defined on mesh nodes (triangle vertices) to allow for restarts as ISSM works with piecewise linear finite elements (at least for most common configurations).
*The gridcomp will run any number of glaciers (binary input files) that are available. Current test configuration runs Antarctica and Greenland, for example.
Major changes to landice:
To Do:
Discussions with @weiyuan-jiang and @mathomp4 suggest we may need to modify CMakeLists.txt for landice (and issm?) to "stub" the build in case the ISSM module is not present. See PR: v11: Build ISSM based on detection of ISSM #1206
Added output on mesh tiles via HISTORY: Feature/jiang/issm gridcomp #1209
Added capability to run over multiple ice sheets, see PRs:
Run ISSM over multiple input files (multiple ice sheets or glaciers) ISSM#3
Run ISSM over multiple input files (multiple ice sheets or glaciers) #1216
Fix exports: get issm exports in landice tile space #1212
Decide if ISSM should be instead be a sibling of Landice for future coupling with ocean (decided to stick with child for now)
Add element coordinates to mesh tile locstream add elementCoords for the output #1227
Add internal states for various fields needed to generate restarts for ISSM (i.e. new binary input files)
Fixed issue with mesh in Antarctica where triangles crossing +/-180 longitude led to regridding error artifacts (specifically with gridded output). Now we mask out the triangles along this thin 'seam' and fill them in from neighboring cells via creep extrapolation. note: this no longer seems relevant when fields are defined on mesh nodes (rather than element faces), but I will elect to keep it in there in case future developments need regridding onto element faces.
Switch from output on element faces (average values over elements) to output on triangle vertices (pointwise values) because this is consistent with how ISSM reads inputs into elements. switch to ISSM fields defined on mesh nodes for geos restarts #1378
Actually read in restarts and test that they work correctly on the ISSM side (standalone ESMF tests worked, so as long as ordering is correct when restarts are read, should be ok....)
replace ISSM_EXPDIR with scratch directory (SCRDIR), and copy or link the binary input files to this dir (i.e. in ldas or gcm scripts that set up the scratch directory)
Remove elementConn argument to RunISSM and InputFromRestarts. These indices can be easily calculated on the ISSM side.
Edit make_bcs, preprocessing, etc as suggested
Related Issues and PRs:
Will update these as progress is made: