Skip to content

Seed AIS bed flood fill from open ocean - #973

Open
trhille wants to merge 1 commit into
MPAS-Dev:mainfrom
trhille:fix-ais-bed-floodfill-ocean-seed
Open

Seed AIS bed flood fill from open ocean#973
trhille wants to merge 1 commit into
MPAS-Dev:mainfrom
trhille:fix-ais-bed-floodfill-ocean-seed

Conversation

@trhille

@trhille trhille commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

The Antarctica mesh-gen step seeded the bed-topography flood fill at the grid center, which is thick interior ice far from any grounding line. The high_dist_bed cap zeroes that cell, so gridded_flood_fill returned an empty mask and use_bed produced no refinement on the full ice sheet.

Add a 'flood_fill_start=auto' mode to build_cell_width that seeds the flood fill from the deepest ice-free, below-sea-level (open ocean) cell, chosen by data values so it is independent of grid resolution. Use it in the Antarctica step. Existing callers using [None, None] or an explicit seed are unchanged.

Checklist

  • Document (in a comment titled Testing in this PR) any testing that was used to verify the changes

The Antarctica mesh-gen step seeded the bed-topography flood fill at the
grid center, which is thick interior ice far from any grounding line. The
high_dist_bed cap zeroes that cell, so gridded_flood_fill returned an empty
mask and use_bed produced no refinement on the full ice sheet.

Add a 'flood_fill_start=auto' mode to build_cell_width that seeds the flood
fill from the deepest ice-free, below-sea-level (open ocean) cell, chosen by
data values so it is independent of grid resolution. Use it in the Antarctica
step. Existing callers using [None, None] or an explicit seed are unchanged.
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.

1 participant