xarray.Dataset.monet.is_ocean
- Dataset.monet.is_ocean(return_xarray=False)
checks the mask of land and ocean.
- Parameters
return_xarray (bool) – If True, return the data array with the land values set to NaN. If False, return a numpy boolean array of the ocean (True).
- Return type
xarray.DataArray or numpy.array