read_all¶
- lsst.pipe.tasks.read_curated_calibs.read_all(root, camera)¶
Read all data from the standard format at a particular root.
- Parameters:
- root
str
Path to the top level of the data tree. This is expected to hold directories named after the sensor names. They are expected to be lower case.
- camera
lsst.afw.cameraGeom.Camera
The camera that goes with the data being read.
- root
- Returns:
- dict
A dictionary of dictionaries of objects constructed with the appropriate factory class. The first key is the sensor name lowered, and the second is the validity start time as a
datetime
object.
Notes
Each leaf object in the constructed dictionary has metadata associated with it. The detector ID may be retrieved from the DETECTOR entry of that metadata.
Deprecated since version v25.0: Curated calibration ingest now handled by obs_base Instrument classes. Will be removed after v25.0.