Skip to content

Commit 62c322d

Browse files
committed
fix up redundant files
1 parent 5d282ba commit 62c322d

18 files changed

+24
-951
lines changed

cf/data/array/cfah5netcdfarray.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

cf/data/array/cfanetcdf4array.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

cf/data/array/h5netcdfarray.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ class H5netcdfArray(
1111
):
1212
"""A netCDF array accessed with `h5netcdf`.
1313
14-
**Active storage reductions**
15-
16-
An active storage reduction may be enabled with the `actify`
17-
method. See `cf.data.collapse.Collapse` for details.
18-
19-
.. versionadded:: 1.11.2.0
14+
.. versionadded:: 3.16.3
2015
2116
"""

cf/data/array/mixin/activestoragemixin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class ActiveStorageMixin:
22
"""Mixin class for enabling active storage operations.
33
4-
.. versionadded:: 1.11.2.0
4+
.. versionadded:: 3.16.3
55
66
"""
77

@@ -12,7 +12,7 @@ def active_storage(self):
1212
Currently, active storage operations are allowed unless the
1313
data are numerically packed.
1414
15-
.. versionadded:: 1.11.2.0
15+
.. versionadded:: 3.16.3
1616
1717
:Returns:
1818

cf/data/array/netcdf4array.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,4 @@ class NetCDF4Array(
99
Container,
1010
cfdm.NetCDF4Array,
1111
):
12-
"""A netCDF array accessed with `netCDF4`.
13-
14-
**Active storage reductions**
15-
16-
An active storage reduction may be enabled with the `actify`
17-
method. See `cf.data.collapse.Collapse` for details.
18-
19-
"""
12+
"""A netCDF array accessed with `netCDF4`."""

cf/data/array/netcdfarray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class NetCDFArray:
22
"""A netCDF array accessed with `netCDF4`.
33
4-
Deprecated at version 1.11.2.0 and is no longer available. Use
4+
Deprecated at version 3.16.3 and is no longer available. Use
55
`cf.NetCDF4Array` instead.
66
77
"""
@@ -11,6 +11,6 @@ def __init__(self, *args, **kwargs):
1111
from ...functions import DeprecationError
1212

1313
raise DeprecationError(
14-
f"{self.__class__.__name__} was deprecated at version 1.11.2.0 "
14+
f"{self.__class__.__name__} was deprecated at version 3.16.3 "
1515
"and is no longer available. Use cf.NetCDF4Array instead."
1616
)

cf/data/array/umarray.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(
6868
already been set will be inferred from the lookup
6969
header and cached for future use.
7070
71-
.. versionadded:: 1.11.2.0
71+
.. versionadded:: 3.16.3
7272
7373
{{init source: optional}}
7474
@@ -91,11 +91,11 @@ def __init__(
9191
Deprecated at version 3.15.0.
9292
9393
units: `str` or `None`, optional
94-
Deprecated at version 1.11.2.0. Use the
94+
Deprecated at version 3.16.3. Use the
9595
*attributes* parameter instead.
9696
9797
calendar: `str` or `None`, optional
98-
Deprecated at version 1.11.2.0. Use the
98+
Deprecated at version 3.16.3. Use the
9999
*attributes* parameter instead.
100100
101101
"""
@@ -143,7 +143,7 @@ def __init__(
143143
def _get_array(self, index=None):
144144
"""Returns a subspace of the dataset variable.
145145
146-
.. versionadded:: 1.11.2.0
146+
.. versionadded:: 3.16.3
147147
148148
.. seealso:: `__array__`, `index`
149149
@@ -243,7 +243,7 @@ def _get_rec(self, f, header_offset):
243243
def _set_FillValue(self, int_hdr, real_hdr, attributes):
244244
"""Set the ``_FillValue`` attribute.
245245
246-
.. versionadded:: 1.11.2.0
246+
.. versionadded:: 3.16.3
247247
248248
:Parameters:
249249
@@ -281,8 +281,6 @@ def _set_units(self, int_hdr, attributes):
281281
282282
.. versionadded:: 3.14.0
283283
284-
.. versionadded:: 1.11.2.0
285-
286284
:Parameters:
287285
288286
int_hdr: `numpy.ndarray`
@@ -339,7 +337,7 @@ def _set_units(self, int_hdr, attributes):
339337
def _set_unpack(self, int_hdr, real_hdr, attributes):
340338
"""Set the ``add_offset`` and ``scale_factor`` attributes.
341339
342-
.. versionadded:: 1.11.2.0
340+
.. versionadded:: 3.16.3
343341
344342
:Parameters:
345343

cf/data/collapse/collapse_active.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def actify(method):
4040
can be done in active storage, or the active storage reduction
4141
failed) then the computations will be done locally "as usual".
4242
43-
.. versionadded:: 1.11.2.0
43+
.. versionadded:: 3.16.3
4444
4545
.. seealso:: `active_chunk_function`
4646
@@ -92,7 +92,7 @@ def active_chunk_function(method, *args, **kwargs):
9292
reduction components, similar to that returned by a ``cf_*_chunk``
9393
method, is returned.
9494
95-
.. versionadded:: 1.11.2.0
95+
.. versionadded:: 3.16.3
9696
9797
.. seealso:: `actify`
9898

cf/data/collapse/dask_collapse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ def cf_sum_of_weights2_chunk(
11331133
This function is passed to `dask.array.reduction` as its *chunk*
11341134
parameter.
11351135
1136-
.. versionadded:: 1.11.2.0
1136+
.. versionadded:: 3.16.3
11371137
11381138
:Parameters:
11391139

cf/data/dask_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def cf_units(a, from_units, to_units):
413413
def cf_is_masked(a):
414414
"""Determine whether an array has masked values.
415415
416-
.. versionadded:: 1.11.2.0
416+
.. versionadded:: 3.16.3
417417
418418
:Parameters:
419419
@@ -436,7 +436,7 @@ def cf_is_masked(a):
436436
def cf_filled(a, fill_value=None):
437437
"""Replace masked elements with a fill value.
438438
439-
.. versionadded:: 1.11.2.0
439+
.. versionadded:: 3.16.3
440440
441441
:Parameters:
442442

0 commit comments

Comments
 (0)