Conversation
sadielbartholomew
left a comment
There was a problem hiding this comment.
Great stuff! With a satisfying amount of match-case additions 🙂
Only minor comments, though note especially the more significant one about append mode, and as a general comment when I run test_zarr with Python 3.12 and Zarr 3.0.8 I get spammed with a warning of:
/home/slb93/miniconda3/envs/cf-env-312-numpy2/lib/python3.12/site-packages/zarr/codecs/vlen_utf8.py:44: UserWarning: The codec `vlen-utf8` is currently not part in the Zarr format 3 specification. It may not be supported by other zarr implementations and may change in the future.
return cls(**configuration_parsed)
but when I run it with Python 3.13 and Zarr 3.1.0 I don't see those. So I suspect the Zarr version 3.0.8 might be to blame. Ideally we can check this isn't emerging as a result of our code and fix it if it is.
Otherwise all good so please merge once you've considered all of my feedback here.
sadielbartholomew
left a comment
There was a problem hiding this comment.
Great stuff! With a satisfying amount of match-case additions 🙂
Only minor comments, though note especially the more significant one about append mode, and as a general comment when I run test_zarr with Python 3.12 and Zarr 3.0.8 I get spammed with a warning of:
/home/slb93/miniconda3/envs/cf-env-312-numpy2/lib/python3.12/site-packages/zarr/codecs/vlen_utf8.py:44: UserWarning: The codec `vlen-utf8` is currently not part in the Zarr format 3 specification. It may not be supported by other zarr implementations and may change in the future.
return cls(**configuration_parsed)
but when I run it with Python 3.13 and Zarr 3.1.0 I don't see those. So I suspect the Zarr version 3.0.8 might be to blame. Ideally we can check this isn't emerging as a result of our code and fix it if it is.
Otherwise all good so please merge once you've considered all of my feedback here.
|
(Think GitHub is playing up a bit - top-level review comment came through twice for the one review 🤔 ) |
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
|
On the Zarr version, the requirements give |
|
Thanks Sadie - very thorough. Some resolutions and comments back t you ... |
Ah, fair - good point. What happened was, when I went to check what Zarr we require I referenced the removed dependency version ( |
|
Thanks for such a quick response to the feedback, David. I have responded to all comments and the only thing remaining to be addressed is that at: #368 (comment). Please take a look and once it's resolved we can merge. |
|
OK now ready to merge as far as I am concerned, thanks! |
|
w00t! Thanks again. Merging now. |
Fixes #354 and #355
Orientation
cfdm/data/aggregatedarray.py
cfdm/data/data.py
cfdm/data/fragment/fragmentfilearray.py
cfdm/data/fragment/fragmentzarrarray.py
cfdm/data/fragment/fragmentnetcdf4array.pycfdm/data/netcdfindexer.py
zarrusing the new numpyTdata typecfdm/mixin/netcdf.py
cfdm/read_write/abstract/abstractio.py
cfdm/read_write/netcdf/flatten/flatten.py
matchclauses to switch between dataset format APIswhich dimensions belong to which groups for Zarr datasets is more
involved, and needs configuring with the new
group_dimension_searchkeyword.cfdm/read_write/netcdf/netcdfread.py
matchclauses to switch between dataset format APIs_cache_data_elements, largely aimed atreducing the number of requests to disk
cfdm/read_write/netcdf/netcdfwrite.py
matchclauses to switch between dataset format APIscfdm/read_write/netcdf/zarr.py
ZarrDimensioncfdm/read_write/read.py
store_dataset_shardsandgroup_dimension_searchcfdm/read_write/write.py
dataset_shardssetup.py
zarrimport optional