xarray.Dataset.pr.loc

Contents

xarray.Dataset.pr.loc#

Dataset.pr.loc#

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

Works like xarray.Dataset.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.