Closed sidneymau closed 1 year ago
The other possible item here would be to extend the reader to parquet and possibly link that to parquet's ability to support predicate pushdown through metadata. Not something you need to do @sidneymau, but it is a related idea that will be more relevant in the LSST era. A unified interface to push down predicates like these would be nice.
galsim_extra is a better home for this. Closing this issue here.
It would be useful to apply filters to catalogs using the native FITS interface so that only a subset of the table needs to be read into memory (especially in the case of working with large catalogs).
A proposed change to
Catalog
would be to modify thereadFits
method toNote that I'm using
fitsio
here as I wasn't sure about fits filtering in the astropy fits library.In this example, I've added
query
as an optional param that can be specified in a config file like so: