Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`ZarrTiffStore.write_fsspec` make template key configurable

See original GitHub issue

Hi @cgohlke,

I’m currently experimenting with combining multiple tiffs via kerchunk. If .write_fsspec would allow to configure the url template "{{u}}" used in reference version=1 it would simplify some of the downstream code I use to combine multiple references into one.

I already prepared a patch:

Cheers, Andreas 😃

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

cgohlkecommented, Apr 29, 2022

Thanks for the suggestion! v2022.4.28 added a templatename parameter to the write_fsspec functions.

cgohlkecommented, Apr 29, 2022

the version=1 reference json (including all levels) is around 12MB and loads almost instantly

It looks like you have well behaved files. I got some slide images with tens of millions tiles in the base layer, where the v0 reference file is in the GB range and the v1 file becomes practically unusable. There was a discussion at I haven’t tried the the non-json storage options, parquet and zarr…

Read more comments on GitHub >

github_iconTop Results From Across the Web

tifffile/ at master · cgohlke/tifffile - GitHub
(1) store NumPy arrays in TIFF (Tagged Image File Format) files, and ... multi-dimensional file sequences, write fsspec ReferenceFileSystem for.
Read more >
tifffile - PyPI
Tifffile is a Python library to. store NumPy arrays in TIFF (Tagged Image File Format) files, and. read image and metadata from TIFF-like...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found