Skip to content

Commit

Permalink
Merge pull request #369 from davidhassell/dask-_parse-indices
Browse files Browse the repository at this point in the history
dask: `Data._parse indices`
  • Loading branch information
davidhassell authored Apr 5, 2022
2 parents 0cd3197 + 5fccf6b commit bd361a3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cf/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4240,6 +4240,17 @@ def __query_wo__(self, value):
"""TODO."""
return (self < value[0]) | (self > value[1])

def _parse_indices(self, *args, **kwargs):
"""'cf.Data._parse_indices' is not available.
Use function `cf.parse_indices` instead.
"""
raise NotImplementedError(
"'cf.Data._parse_indices' is not available. "
"Use function 'cf.parse_indices' instead."
)

def _set_subspace(self, *args, **kwargs):
"""'cf.Data._set_subspace' is unavailable."""
raise NotImplementedError("'cf.Data._set_subspace' is unavailable.")
Expand Down

0 comments on commit bd361a3

Please sign in to comment.