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
Thank you for building intake-xarray, this is an awesome package! I am having trouble reading a zarr datastore via an IPFS gateway. I am trying to read a NOAA SST dataset with an intake catalog.
This code reads a NOAA SST dataset with just xarray
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 <File-like object HTTPFileSystem, https://dweb.link/ipfs/bafybeiepna7ilkhdwykd65i7aovmrapnmaifullesxg5pdsjy6cos5qfrm/>
Any thoughts on how to resolve this issue? I am confused because I thought in the background intake_xarray was just doing this xr.open_dataset("https://dweb.link/ipfs/bafybeiepna7ilkhdwykd65i7aovmrapnmaifullesxg5pdsjy6cos5qfrm/", engine="zarr"), which I know works from the above example.
Hi @lgloege
I'm excited to see that more and more data is hosted on IPFS. Have you tried to access this data directly via the IPFS protocol and not via http? Here is an example on how the syntax looks like. This way you would also be independent of the gateway. You will need to install ipfsspec though.
Thank you for building intake-xarray, this is an awesome package! I am having trouble reading a zarr datastore via an IPFS gateway. I am trying to read a NOAA SST dataset with an intake catalog.
This code reads a NOAA SST dataset with just xarray
This code works as expected. Now I want to build an intake catalog to read this file. I wrote the following simple catalog
catalog_ipfs.yaml
I then try reading data from it using the following code:
When I run this code I get this
ValueError
Any thoughts on how to resolve this issue? I am confused because I thought in the background
intake_xarray
was just doing thisxr.open_dataset("https://dweb.link/ipfs/bafybeiepna7ilkhdwykd65i7aovmrapnmaifullesxg5pdsjy6cos5qfrm/", engine="zarr")
, which I know works from the above example.Here is the version of each package I am using:
I appreciate any help you can provide, thanks!
The text was updated successfully, but these errors were encountered: