From 4a332627a63564867682fa6b15d9e05fa155de9d Mon Sep 17 00:00:00 2001 From: David Hassell Date: Tue, 29 Mar 2022 10:34:57 +0100 Subject: [PATCH] _parse_indices --- cf/data/data.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cf/data/data.py b/cf/data/data.py index c93d48f7d4..c18db3f31a 100644 --- a/cf/data/data.py +++ b/cf/data/data.py @@ -4291,6 +4291,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." + ) + @classmethod def concatenate(cls, data, axis=0, _preserve=True): """Join a sequence of data arrays together.