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
When copying the whole zarr store with gsutil cp gs://my_bucket/remote_group.zarr . and running the same code again while only changing the path, I get the desired output with the correct values:
Access to the same zarr group on a remote google cloud storage bucket give zeros as output when run in jupyter lab or jupyter notebook. I tested this in a number of different cases, for local access to remote storage and from a remote kubernetes pod in the same gco project with access to the bucket.
Cases tested:
Access remote zarr from local jupyter / jupyter lab --> Doesn’t work
Access remote zarr from remote jupyter / jupyter lab (kubernetes pod) --> Doesn’t work
Access local zarr (copied with gsutil) from local jupyter --> Works
Access remote zarr from a remote run (kubernetes pod) inside python my_zarr_access_file.py --> Works
Access remote zarr from local run (same venv as jupyter) inside python my_zarr_access_file.py --> Works
Version and installation information
Please provide the following:
Value of zarr.__version__: Tested '2.7.0' (kubernetes pod) and '2.6.1' (local venv)
Value of numcodecs.__version__: Tested '0.7.3' (kubernetes pod and local venv)
Version of Python interpreter: Tested 3.8.3 (kubernetes pod) and 3.7.6 (local venv)
Operating system (Linux/Windows/Mac) Linux (kubernetes pod) Mac (local venv)
How Zarr was installed: "pip into venv" (local) / "pip inside conda env (kubernetes pod)"
The text was updated successfully, but these errors were encountered:
@joshmoore Unfortunately not, sorry. By now we also built a workaround so these len calls are not directly relevant to me right know, but could not find the real reason.
Minimal, reproducible code sample, a copy-pastable example if possible
When copying the whole zarr store with
gsutil cp gs://my_bucket/remote_group.zarr .
and running the same code again while only changing the path, I get the desired output with the correct values:Problem description
Access to the same zarr group on a remote google cloud storage bucket give zeros as output when run in jupyter lab or jupyter notebook. I tested this in a number of different cases, for local access to remote storage and from a remote kubernetes pod in the same gco project with access to the bucket.
Cases tested:
python my_zarr_access_file.py
--> Workspython my_zarr_access_file.py
--> WorksVersion and installation information
Please provide the following:
zarr.__version__
: Tested '2.7.0' (kubernetes pod) and '2.6.1' (local venv)numcodecs.__version__
: Tested '0.7.3' (kubernetes pod and local venv)The text was updated successfully, but these errors were encountered: