xarray.Dataset.pr.loc

Dataset.pr.loc

Attribute for location-based indexing like xr.Dataset.loc, but also supports short aliases like area and translates them into the long names including the corresponding category-set.