xarray.DataArray.pr.loc

Contents

xarray.DataArray.pr.loc#

DataArray.pr.loc#

Location-based indexing like xr.DataArray.loc with added features.

Works like xarray.DataArray.loc indexer, but has additional features:

  • supports short aliases like area and translates them into the long names including the corresponding category-set.

  • supports negative selection (selecting everything but a specified value) using primap2.Not.