You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above code works fine for both MemoryStore and DirectoryStore
When run with 'gcs' key, the above code generates a rather long exception, but the important detail is:
It seems to me that zarr is not converting the data into its serialized representation (via their codec library) and is directly passing the datatype into MutableMapping which results in an exception since google libraries don't know how to convert the passed data (np.pi) into bytes.
Hello,
Consider the following code:
The example dataset is from the quick overview example.
The above code works fine for both
MemoryStore
andDirectoryStore
When run with 'gcs' key, the above code generates a rather long exception, but the important detail is:
pi
is value associated withbaz
key.I also have implemented a custom zarr store (Details of which are present in this zarr issue) which gives more insight into the issue:
It seems to me that zarr is not converting the data into its serialized representation (via their codec library) and is directly passing the datatype into MutableMapping which results in an exception since google libraries don't know how to convert the passed data (np.pi) into bytes.
Please let me know if you think I should raise this issue in zarr project rather than here.
version of xarray and zarr:
The text was updated successfully, but these errors were encountered: