uwacan.analysis.ShipLevel.sel#
- ShipLevel.sel(indexers=None, method=None, tolerance=None, drop=False, drop_allnan=True, **indexers_kwargs)#
Select a subset of the data from the coordinate labels.
The selection is easiest done with keywords, e.g.
obj.sel(sensor="Colmar 1")to select a specific sensor. For numerical coordinates,method="nearest"can be quite useful. Use a slice to select a range of values, e.g.,obj.sel(frequency=slice(10, 100)).For more details, see
xarray.DataArray.selandxarray.Dataset.sel.