From 30845a63e9dc8e524f8408aa628242d42c6e6a83 Mon Sep 17 00:00:00 2001 From: David Hassell Date: Tue, 29 Mar 2022 10:45:17 +0100 Subject: [PATCH] _set_subspace --- cf/data/data.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cf/data/data.py b/cf/data/data.py index c93d48f7d4..dccf08dd14 100644 --- a/cf/data/data.py +++ b/cf/data/data.py @@ -4291,6 +4291,10 @@ def __query_wo__(self, value): """TODO.""" return (self < value[0]) | (self > value[1]) + def _set_subspace(self, *args, **kwargs): + """'cf.Data._set_subspace' is unavailable.""" + raise NotImplementedError("'cf.Data._set_subspace' is unavailable.") + @classmethod def concatenate(cls, data, axis=0, _preserve=True): """Join a sequence of data arrays together.