Skip to content

Commit 141a9fb

Browse files
committed
dev
1 parent 747e7ed commit 141a9fb

File tree

7 files changed

+302
-372
lines changed

7 files changed

+302
-372
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The `cf` package uses
8484
[Dask](https://ncas-cms.github.io/cf-python/performance.html) for all
8585
of its array manipulation and can:
8686

87-
* read field constructs from netCDF, CDL, PP and UM datasets with a
87+
* read field constructs from netCDF, CDL, Zarr, PP and UM datasets with a
8888
choice of netCDF backends,and in local, http, and s3 locations,
8989
* create new field constructs in memory,
9090
* write and append field and domain constructs to netCDF datasets on disk,

cf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
The `cf` package uses `dask` for all of its array manipulation and
1212
can:
1313
14-
* read field constructs from netCDF, CDL, PP and UM datasets,
14+
* read field constructs from netCDF, CDL, Zarr, PP and UM datasets,
1515
1616
* read field constructs and domain constructs from netCDF, CDL, PP and
1717
UM datasets with a choice of netCDF backends,

cf/cfimplementation.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
RaggedIndexedArray,
3939
RaggedIndexedContiguousArray,
4040
SubsampledArray,
41+
ZarrArray,
4142
)
4243
from .functions import CF
4344

@@ -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()

cf/data/array/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
from .raggedindexedcontiguousarray import RaggedIndexedContiguousArray
1313
from .subsampledarray import SubsampledArray
1414
from .umarray import UMArray
15+
from .zarrarray import ZarrArray

0 commit comments

Comments
 (0)