Skip to content

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

Open
@TomNicholas

Description

@TomNicholas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtopic-zarrRelated to zarr storage library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions