xarray.DataArray.pint.sel

DataArray.pint.sel(indexers=None, method=None, tolerance=None, drop=False, **indexers_kwargs)

unit-aware version of sel

Like xarray.DataArray.sel(), except the object’s indexes are converted to the units of the indexers first.

Note

tolerance is not supported, yet. It will be passed through to DataArray.sel unmodified.