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

Filenames without suffix, e.g. in Zarr V2 stores, are rejected #373

Open
juntyr opened this issue Jan 7, 2025 · 1 comment
Open

Filenames without suffix, e.g. in Zarr V2 stores, are rejected #373

juntyr opened this issue Jan 7, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@juntyr
Copy link

juntyr commented Jan 7, 2025

It is possible to open a Zarr V2 dataset by first translating it to kerchunk with

kerchunk.zarr.ZarrToZarr("ds.zarr").translate()

and then opening it with

virtualizarr.open_virtual_dataset("ds.json", filetype="kerchunk")

However, Zarr uses files without suffix for its data chunks, e.g. var/0, which are rejected during path-to-URI normalization. When I patched out this check the dataset loaded correctly. Would it be possible to disable the check?

@TomNicholas TomNicholas added the bug Something isn't working label Jan 7, 2025
@TomNicholas
Copy link
Member

TomNicholas commented Jan 7, 2025

Thanks for raising this!

FYI we do have a dedicated Zarr reader coming in #271.

So the question becomes: "is there any other reason to disable this check other than for opening zarr (which will soon be handled by the dedicated reader)?"

cc @norlandrhagen

@TomNicholas TomNicholas mentioned this issue Jan 10, 2025
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants