simple-zarr-server icon indicating copy to clipboard operation
simple-zarr-server copied to clipboard

Handling missing chunks by sending chunks with a fill value

Open royerloic opened this issue 4 years ago • 2 comments
trafficstars

I am using simple-zarr-server quite a lot know in conjunction with napari! Really awesome!

One issue I have encountered is viewing (unfortunately) corrupted, or simply incomplete zarr storages. For that to work, I would need to send chunks with a given fill value instead of simply erroring.

Any pointers of how to add this? Easy fix?

royerloic avatar Jan 11 '21 21:01 royerloic

@royerloic : can you paste the error you're seeing?

joshmoore avatar Feb 08 '21 09:02 joshmoore

Hmm, I believe missing chunks should raise a KeyError, and then the client library is responsible for creating the filled chunk (rather than the store creating an empty chunk on-demand).

manzt avatar Jun 12 '23 15:06 manzt