-
Notifications
You must be signed in to change notification settings - Fork 53
Bug when trying to open zarr files #454
Copy link
Copy link
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
Charles and I found a bug in trying to write the recipe in pangeo-forge/staged-recipes#239. Running the recipe throws an error, which he realized would also be triggered by running this:
import xarray as xr
import fsspec
file = xr.open_dataset(fsspec.open("https://g-402b74.00888.8540.data.globus.org/eddy/low_res.zarr"), engine="zarr")
which appears to be the current behavior, where the expected behavior would be:
file = xr.open_dataset("https://g-402b74.00888.8540.data.globus.org/eddy/low_res.zarr", engine="zarr")
The error I get is ValueError: Starting with Zarr 2.11.0, stores must be subclasses of BaseStore, if your store exposes the MutableMapping interface wrap it in Zarr.storage.KVStore. Got <OpenFile 'https://g-402b74.00888.8540.data.globus.org/eddy/low_res.zarr'>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers