-
-
Notifications
You must be signed in to change notification settings - Fork 329
Regression failures reading fsspec ReferenceFileSystem file with zarr 2.13.6 #1324
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
Comments
Thanks Christoph! Sorry for the trouble Is it possible to run |
|
Thanks! 🙏 @ravwojdyla @martindurant, do either of you have thoughts here? |
I believe the main point of that PR was to provide listdir() on what otherwise would be an unstructured dict-like interface. I don't know why that would cause a difference, though. |
My guess would be that the Lines 144 to 151 in 385b5d3
This is not tested with the reference filesystem. We hoped it would just work with all fsspec implementations. However, there is a lot of variability and special cases across different implementations. If I had to speculate further, I would guess that the reference filesystem FSMap has certain attributes (beyond |
Thanks, @cgohlke, as always. On the one hand, happy to help roll out a fix ASAP. Solutions that occur to me (beyond a PR) if anyone wants to raise them:
One things have settled, I'd also vote for having @cgohlke's code in an automated test somewhere. That can be an additional workflow here, or workflows in other repos that run with |
Hello everyone, It seems it's a regression introduced in I had a look at this and found that changing: in Fixes the test code provided above. I can dig further later today. |
Fixed in fsspec 2023.1.0. Thank you all. |
Zarr version
2.13.6
Numcodecs version
0.11.0
Python Version
3.10.9, any version
Operating System
Windows
Installation
pip
Description
Fsspec ReferenceFileSystem files for image file sequences produced by tifffile can no longer be read correctly by zarr 2.13.6. Version 2.13.3 worked fine.
Tifffile's test_tifffile::test_write_fsspec_sequence and earthbigdata.py fail with zarr 2.13.6.
It looks like the chunks are no longer correctly mapped to their indices.
Steps to reproduce
Example
Output
Additional output
test.json.zip
The text was updated successfully, but these errors were encountered: