read_array

method of dascore.io.zarr.core.ZarrV2 source

read_array(
    self ,
    resource: UPath ,
    windows: collections.abc.Sequence[tuple[tuple[int | None[int, None], int | None[int, None]], <class ’slice, None]] = (),
    key: str = ““,
)-> ‘np.ndarray’

Read a window of one patch; only the chunks it touches are read.