Landice mesh_gen: switch conservative remap weight generation from ESMF to mbtempest#952
Draft
Landice mesh_gen: switch conservative remap weight generation from ESMF to mbtempest#952
Conversation
Agent-Logs-Url: https://github.com/MPAS-Dev/compass/sessions/e852577b-c2c5-4453-9fb1-c3856049bf6c Co-authored-by: trhille <17446278+trhille@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MPAS-Dev/compass/sessions/e852577b-c2c5-4453-9fb1-c3856049bf6c Co-authored-by: trhille <17446278+trhille@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MPAS-Dev/compass/sessions/e852577b-c2c5-4453-9fb1-c3856049bf6c Co-authored-by: trhille <17446278+trhille@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MPAS-Dev/compass/sessions/e852577b-c2c5-4453-9fb1-c3856049bf6c Co-authored-by: trhille <17446278+trhille@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MPAS-Dev/compass/sessions/e852577b-c2c5-4453-9fb1-c3856049bf6c Co-authored-by: trhille <17446278+trhille@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix bug in conserve mapping with ESMF_RegridWeightGen
Landice mesh_gen: switch conservative remap weight generation from ESMF to mbtempest
Apr 20, 2026
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.
Conservative remapping in landice
mesh_gencan hang/segfault withESMF_RegridWeightGenat high resolution. This change transitions that path tombtempest(TempestRemap parallel flow) while keeping the existing interpolation workflow intact.Core change (landice mesh_gen optional interpolation)
compass/landice/mesh.py::interp_gridded2mali(), replaced conservative weight generation viaESMF_RegridWeightGenwith:mbconvert(SCRIP → H5M),mbpart(parallel partitioning),mbtempest --type 5 --weights(conservative weights).interpolate_to_mpasli_grid) and weight-file contract (gridded_to_MPAS_weights.nc).Operational cleanup
.h5mfiles created during convert/partition to avoid workspace clutter.Config/docs alignment for mesh_gen
nProcsis described as controllingmbtempest(notESMF_RegridWeightGen).Checklist
api.rst) has any new or modified class, method and/or functions listedTestingin this PR) any testing that was used to verify the changes