mpas_tools.ocean.coastline_alteration.widen_transect_edge_masks¶
- mpas_tools.ocean.coastline_alteration.widen_transect_edge_masks(dsMask, dsMesh, latitude_threshold=43.0)[source]¶
Alter critical passages at polar latitudes to be at least two cells wide, to avoid sea ice blockage
- Parameters:
dsMask (xarray.Dataset) – The mask to which critical blockages should be added
dsMesh (xarray.Dataset) – The transect masks defining critical land regions that should block ocean flow (e.g. the Antarctic Peninsula)
latitude_threshold (float) – Minimum latitude, degrees, for transect widening
- Returns:
dsMask (xarray.Dataset) – The mask with critical blockages included