-
-
Notifications
You must be signed in to change notification settings - Fork 370
Open
Labels
enhancementNew features or improvementsNew features or improvements
Description
Describe the issue linked to the documentation
https://github.com/zarr-developers/zarr-python/blob/main/src/zarr/core/metadata/v3.py#L687 seems to imply that where a (v2) data type is defined as big-endian, zarr cannot read it. Is this the case?
File ~/code/zarr/src/zarr/core/metadata/v3.py:704, in DataType.from_numpy(cls, dtype)
686 return DataType.string
687 dtype_to_data_type = {
688 "|b1": "bool",
689 "bool": "bool",
(...)
702 "<c16": "complex128",
703 }
--> 704 return DataType[dtype_to_data_type[dtype.str]]
KeyError: '>i4'
(reached via virtualizarr reading a kerchunked netCDF3 file)
cc @TomNicholas perhaps you've come across this kind of thing.
Suggested fix for documentation
No response
Metadata
Metadata
Assignees
Labels
enhancementNew features or improvementsNew features or improvements