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

Perform flood fills on the land-ice mask #800

Merged
merged 5 commits into from
Mar 27, 2024

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Mar 26, 2024

This merge makes sure the land-ice mask does not have holes (by flood filling an "ocean" mask that is the inverse of the land-ice mask) and then ensures that all land-ice cells are connected to each other (by flood filling the land-ice mask from the south pole).

Checklist

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

xylar added 3 commits March 26, 2024 04:31
Another flood fill also makes sure the mask is contiguous (no
small, isolated pockets of land ice).
@xylar xylar force-pushed the flood-fill-land-ice-mask branch from 87beffb to 707dc28 Compare March 26, 2024 12:29
@xylar xylar mentioned this pull request Mar 26, 2024
1 task
xylar added 2 commits March 26, 2024 15:46
A function previously from the Compass cull module now needs to
come from MPAS-Tools and the syntax needs to change accordingly.
@xylar xylar force-pushed the flood-fill-land-ice-mask branch from 707dc28 to eb5895c Compare March 26, 2024 20:46
@xylar
Copy link
Collaborator Author

xylar commented Mar 26, 2024

Testing

I uses this branch on IcoswISC240, IcoswISC30 and RRSwISC6to18 meshes. In all cases, "islands" of isolated land-ice were removed from landIceMask. In the last of these cases, holes in landIceMask were also filled in, see #801 (comment)

@xylar xylar self-assigned this Mar 26, 2024
@xylar xylar added enhancement New feature or request ocean labels Mar 26, 2024
@xylar
Copy link
Collaborator Author

xylar commented Mar 27, 2024

I also ran the pr suite and it completed successfully.

@xylar xylar merged commit cdc98a5 into MPAS-Dev:main Mar 27, 2024
4 checks passed
@xylar xylar deleted the flood-fill-land-ice-mask branch March 27, 2024 07:46
jonbob added a commit to E3SM-Project/E3SM that referenced this pull request Jun 13, 2024
Add new RRSwISC6to18E3r5 ocean and sea-ice mesh

Long name: RRSwISC6to18L80E3SMv3r5
This RRS (Rossby-radius scaled) mesh has:
* 6 km resolution near the poles
* 18 km resolution at the equator
This is a proposed E3SM v3 (E3) high resolution (near-eddy-resolving)
mesh. This is revision 5 (r5) of the mesh, which includes a flood fill
of the land-ice mask to ensure correct connectivity
(MPAS-Dev/compass#800). The minimum water-column thickness has been set
to 20 m.

[BFB] for all currently tested configurations
jonbob added a commit to E3SM-Project/E3SM that referenced this pull request Jun 14, 2024
Add new RRSwISC6to18E3r5 ocean and sea-ice mesh

Long name: RRSwISC6to18L80E3SMv3r5
This RRS (Rossby-radius scaled) mesh has:
* 6 km resolution near the poles
* 18 km resolution at the equator
This is a proposed E3SM v3 (E3) high resolution (near-eddy-resolving)
mesh. This is revision 5 (r5) of the mesh, which includes a flood fill
of the land-ice mask to ensure correct connectivity
(MPAS-Dev/compass#800). The minimum water-column thickness has been set
to 20 m.

[BFB] for all currently tested configurations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ocean
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant