Hi,
I am having problems with the/zarr/get_zarr_metadata endpoint. I can start the server and I see my dataset but when I try to read data from the client side, I get ValueError: Encoding chunks do not match inferred chunks.
I tried to explicitly change the chunks / encoding but it did not seem to work.
My code looks something like this:
import zarr
import xarray as xr
from azure.storage.blob import ContainerClient
container_client = ContainerClient("some_url", container_name="some_name", credential="some_credentials")
store = zarr.ABSStore(client=container_client, prefix="file.zarr")
ds = xr.open_zarr(store, consolidated=True, overwrite_encoded_chunks=True) # do I need overwrite_encoded_chunks?
ds = ds.chunk({"time": 2**12, "feature_id": 2**16}) # do I need this?
ds.encoding = {"time": 2**12, "feature_id": 2**16} # do I need this?
Any ideas?
Thank you very much
Hi,
I am having problems with the
/zarr/get_zarr_metadataendpoint. I can start the server and I see my dataset but when I try to read data from the client side, I getValueError: Encoding chunks do not match inferred chunks.I tried to explicitly change the chunks / encoding but it did not seem to work.
My code looks something like this:
Any ideas?
Thank you very much