3838 RaggedIndexedArray ,
3939 RaggedIndexedContiguousArray ,
4040 SubsampledArray ,
41+ ZarrArray ,
4142)
4243from .functions import CF
4344
@@ -49,8 +50,8 @@ class CFImplementation(cfdm.CFDMImplementation):
4950
5051 """
5152
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.
5455
5556 .. versionadded:: 3.16.2
5657
@@ -60,21 +61,21 @@ def nc_set_hdf5_chunksizes(self, data, sizes, override=False):
6061 The data.
6162
6263 sizes: sequence of `int`
63- The new HDF5 chunk sizes.
64+ The new dataset chunk sizes.
6465
6566 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
6768 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.
7071
7172 :Returns:
7273
7374 `None`
7475
7576 """
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 )
7879
7980 def set_construct (self , parent , construct , axes = None , copy = True , ** kwargs ):
8081 """Insert a construct into a field or domain.
@@ -151,6 +152,7 @@ def set_construct(self, parent, construct, axes=None, copy=True, **kwargs):
151152 RaggedIndexedContiguousArray = RaggedIndexedContiguousArray ,
152153 SubsampledArray = SubsampledArray ,
153154 TiePointIndex = TiePointIndex ,
155+ ZarrArray = ZarrArray ,
154156)
155157
156158
@@ -205,7 +207,9 @@ def implementation():
205207 'RaggedIndexedArray': cf.data.array.raggedindexedarray.RaggedIndexedArray,
206208 'RaggedIndexedContiguousArray': cf.data.array.raggedindexedcontiguousarray.RaggedIndexedContiguousArray,
207209 'SubsampledArray': cf.data.array.subsampledarray.SubsampledArray,
208- 'TiePointIndex': cf.tiepointindex.TiePointIndex}
210+ 'TiePointIndex': cf.tiepointindex.TiePointIndex,
211+ 'ZarrArray': cf.data.array.zarrarray.ZarrArray,
212+ }
209213
210214 """
211215 return _implementation .copy ()
0 commit comments