Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TypeError: Unsupported type for store_like: 'FSMap'" with new version libraries #9957

Open
TomNicholas opened this issue Jan 16, 2025 · 1 comment
Labels
bug topic-zarr Related to zarr storage library

Comments

@TomNicholas
Copy link
Member

Discussed in #9956

Originally posted by fralc January 16, 2025
I'm getting "TypeError: Unsupported type for store_like: 'FSMap'" when opening a zarr archive with the following new package versions:

s3fs = "2024.12.0"
zarr = "3.0.0"
dask = "2024.12.1"
xarray = "2025.1.1"

A sample of the code I am using is this:

import s3fs
import xarray

s3 = s3fs.S3FileSystem(anon=True, client_kwargs=dict(region_name='us-east-1'))
store = s3fs.S3Map(root='s3://noaa-nwm-retro-v2-zarr-pds', s3=s3, check=False)

nwm_ds = xarray.open_zarr(store)

Where I am wrong?
Thank you

@TomNicholas TomNicholas added bug topic-zarr Related to zarr storage library labels Jan 16, 2025
@malmans2
Copy link
Contributor

See zarr-developers/zarr-python#2706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug topic-zarr Related to zarr storage library
Projects
None yet
Development

No branches or pull requests

2 participants