spatialdata icon indicating copy to clipboard operation
spatialdata copied to clipboard

Enable partial reading for specific subsets of elements

Open LucaMarconato opened this issue 11 months ago • 0 comments

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!

LucaMarconato avatar Jan 30 '25 17:01 LucaMarconato