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
- dsMesh (xarray.Dataset) – An MPAS mesh on which the masks should be created 
- fcSeed (geometric_features.FeatureCollection) – A feature collection containing points at which to start the flood fill 
- logger (logging.Logger, optional) – A logger for the output if not stdout 
 
- Returns
- dsMask (xarray.Dataset) – The masks