Skip to content

Tiff zarr reader#295

Closed
TomNicholas wants to merge 7 commits intosupport/v1from
tiff_zarr_reader
Closed

Tiff zarr reader#295
TomNicholas wants to merge 7 commits intosupport/v1from
tiff_zarr_reader

Conversation

@TomNicholas
Copy link
Copy Markdown
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
Copy Markdown
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

2 participants