hyrax.datasets.range_read_lsst_dataset#
Attributes#
Classes#
LSST dataset that prefetches file paths from butler and reads cutouts via FITS range reads. |
Module Contents#
- class RangeReadLSSTDataset(config, data_location=None)[source]#
Bases:
hyrax.datasets.lsst_dataset.LSSTDatasetLSST dataset that prefetches file paths from butler and reads cutouts via FITS range reads.
Initialize the dataset with either a HATS catalog or astropy table.
Config can specify either: - config[“data_set”][“hats_catalog”]: path to HATS catalog - config[“data_set”][“astropy_table”]: path to any file readable by Astropy Table
- _prefetch_all()[source]#
Resolve all file paths and pixel bounding boxes from the butler and skymap.
After this method completes, the butler is no longer needed for get_image calls.