38
38
RaggedIndexedArray ,
39
39
RaggedIndexedContiguousArray ,
40
40
SubsampledArray ,
41
+ ZarrArray ,
41
42
)
42
43
from .functions import CF
43
44
@@ -49,8 +50,8 @@ class CFImplementation(cfdm.CFDMImplementation):
49
50
50
51
"""
51
52
52
- def nc_set_hdf5_chunksizes (self , data , sizes , override = False ):
53
- """Set the data HDF5 chunksizes.
53
+ def nc_set_dataset_chunksizes (self , data , sizes , override = False ):
54
+ """Set the data dataset chunksizes.
54
55
55
56
.. versionadded:: 3.16.2
56
57
@@ -60,21 +61,21 @@ def nc_set_hdf5_chunksizes(self, data, sizes, override=False):
60
61
The data.
61
62
62
63
sizes: sequence of `int`
63
- The new HDF5 chunk sizes.
64
+ The new dataset chunk sizes.
64
65
65
66
override: `bool`, optional
66
- If True then set the HDF5 chunks sizes even if some
67
+ If True then set the dataset chunks sizes even if some
67
68
have already been specified. If False, the default,
68
- then only set the HDF5 chunks sizes if some none have
69
- already been specified.
69
+ then only set the dataset chunks sizes if some none
70
+ have already been specified.
70
71
71
72
:Returns:
72
73
73
74
`None`
74
75
75
76
"""
76
- if override or not data .nc_hdf5_chunksizes ():
77
- data .nc_set_hdf5_chunksizes (sizes )
77
+ if override or not data .nc_dataset_chunksizes ():
78
+ data .nc_set_dataset_chunksizes (sizes )
78
79
79
80
def set_construct (self , parent , construct , axes = None , copy = True , ** kwargs ):
80
81
"""Insert a construct into a field or domain.
@@ -151,6 +152,7 @@ def set_construct(self, parent, construct, axes=None, copy=True, **kwargs):
151
152
RaggedIndexedContiguousArray = RaggedIndexedContiguousArray ,
152
153
SubsampledArray = SubsampledArray ,
153
154
TiePointIndex = TiePointIndex ,
155
+ ZarrArray = ZarrArray ,
154
156
)
155
157
156
158
@@ -205,7 +207,9 @@ def implementation():
205
207
'RaggedIndexedArray': cf.data.array.raggedindexedarray.RaggedIndexedArray,
206
208
'RaggedIndexedContiguousArray': cf.data.array.raggedindexedcontiguousarray.RaggedIndexedContiguousArray,
207
209
'SubsampledArray': cf.data.array.subsampledarray.SubsampledArray,
208
- 'TiePointIndex': cf.tiepointindex.TiePointIndex}
210
+ 'TiePointIndex': cf.tiepointindex.TiePointIndex,
211
+ 'ZarrArray': cf.data.array.zarrarray.ZarrArray,
212
+ }
209
213
210
214
"""
211
215
return _implementation .copy ()
0 commit comments