allen-cell-animated / volume-viewer

https://allen-cell-animated.github.io/volume-viewer/
Other
90 stars 7 forks source link

handle zarrs that are too big #174

Closed toloudis closed 2 months ago

toloudis commented 6 months ago

Use Case

Accounting for all multiresolution levels, if:

then we either have to error out in some way or downsample in the viewer

Solution

Error out gracefully - perhaps find a way to propagate error out to clients, even if it's just throw new Error("Zarr too big")

Alternatives

  1. show some cropped subset of the data which is easy to display quickly.
  2. Downsample on the fly. Has performance concerns naively downsampling potentially very large data. Potentially fraught with other details to deal with.
ShrimpCryptid commented 3 months ago

May be dependent on https://github.com/allen-cell-animated/website-3d-cell-viewer/issues/183.