-
Notifications
You must be signed in to change notification settings - Fork 25
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
KeyError: 'refs' opening TIFF file #160
Comments
Thanks for raising this @scottyhq! I don't think anyone has actually tried to open a tiff file with virtualizarr before! Running your example, the output of
It looks like this is not the same structure that e.g. What virtualizarr is expecting (and what the kerchunk docs promise...) is that the keys of the outermost dictionary are We could either fix this upstream in kerchunk, or just work around it here by special-casing tiffs to add that top-level |
Makes sense @TomNicholas, seems like if someone is motivated an upstream fix is the right approach. I just came across this working on #143 so figured I'd document it. For what it's worth the it's the same situation currently with FITS:
|
Yeah thanks for documenting it! We should raise an issue upstream to report it, but as long as there are no other differences in the structure then working around it here should be very simple. |
The text was updated successfully, but these errors were encountered: