xray.Dataset.loc

Dataset.loc

Attribute for location based indexing. Only supports __getitem__, and only when the key is a dict of the form {dim: labels}.