spatialdata
spatialdata copied to clipboard
Enable partial reading for specific subsets of elements
Originally reported by @Felicie-Giraud-Sauveur via Zulip
I currently use sdata = sd.read_zarr(f"path/sdata.zarr", selection=("tables",)) to open only the tables for example. But now I am starting to have a large number of tables and it is taking a long time to open, whereas sometimes I only need to use one. I was wondering if it was currently possible to open, for example, only a selection of tables from among all the tables (or the same for shapes, etc...). I tried to do for example sdata = sd.read_zarr(f"path/sdata.zarr", selection=("table_1",)) but it does not work. Many thanks in advance for your reply!