File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -3763,6 +3763,10 @@ class FsspecJsonWSIReader(WSIReader):
37633763 The fsspec zarr json file represents a SVS or TIFF file
37643764 that be accessed using byte range HTTP API.
37653765
3766+ All the information on the chunk locations in the SVS or TIFF file
3767+ is outlined as byte-ranges in the JSON,
3768+ so the reader requests only chunks that are needed to display requested tiles,
3769+ rather than the entire SVS or TIFF file.
37663770 """
37673771
37683772 def __init__ (
@@ -3820,6 +3824,15 @@ def __init__(
38203824 self .tiff_reader_delegate = TIFFWSIReaderDelegate (self , self .level_arrays )
38213825
38223826 def __set_axes (self ) -> None : # pragma: no cover
3827+ """Loads axes from the json file.
3828+
3829+ In case zarr array has a group 0 at root,
3830+ loads axes from the layer 0.
3831+
3832+ In case the zarr array doesn't have a group 0 at
3833+ root, loads axes from attrs at root.
3834+
3835+ """
38233836 if isinstance (self ._zarr_array , zarr .hierarchy .Group ):
38243837 if "0" in self ._zarr_array :
38253838 zattrs = self ._zarr_array ["0" ].attrs
You can’t perform that action at this time.
0 commit comments