mpas_tools.mesh.mask.compute_mpas_flood_fill_mask

mpas_tools.mesh.mask.compute_mpas_flood_fill_mask(dsMesh, fcSeed, logger=None)[source]

Flood fill from the given set of seed points to create a contiguous mask. The flood fill operates using cellsOnCell, starting from the cells whose centers are closest to the seed points.

Parameters
Returns

dsMask (xarray.Dataset) – The masks