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

Tiff zarr reader #295

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Tiff zarr reader #295

wants to merge 7 commits into from

Conversation

TomNicholas
Copy link
Member

Alternative approach to #291, that uses tifffile directly instead of via kerchunk's tiff_to_zarr. However it doesn't work yet, not least because tifffile doesn't support zarr-python v3.

@TomNicholas TomNicholas added the references generation Reading byte ranges from archival files label Nov 14, 2024
Comment on lines 41 to 48
def chunkmanifest_from_zarr_array(za: zarr.Array) -> ChunkManifest:
import ujson

of2 = io.StringIO()

# TODO handle remote urls
za.store.write_fsspec(of2)# , url=url)
out = ujson.loads(of2.getvalue())
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the challenging part mentioned in #291 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
references generation Reading byte ranges from archival files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

open_virtual_dataset fails to open tiffs
1 participant