PreFlightDimensionsRow¶
-
class
lsst.daf.butler.PreFlightDimensionsRow(dataId, datasetRefs)¶ Bases:
objectSimple data class holding combination of Dimension values for one row returned by pre-flight solver.
Logically instance of this class represents a single “path” connecting a set of DatasetRefs which exist or may exist for a given set of DatasetTypes based on the Dimension relational algebra.
Pre-flight solver returns a sequence of
PreFlightDimensionsRowinstances, each instance will have uniquedataId, butDatasetRefindatasetRefsare not necessarily unique. For example when pre-flight solver generates data for Quantum which has two DatasetRefs on input and one on output it will create twoPreFlightDimensionsRowinstances with the sameDatasetReffor output dataset type. It is caller’s the responsibility to combine multiplePreFlightDimensionsRowinto a suitable structure (e.g.,lsst.pipe.base.QuantumGraph).Note
In current implementation of
SqlPreFlightthe instances ofDatasetRefdo not havecomponentsproperty correctly filled. If you need to know dataset composition you have to re-fetch dataset again usingRegistry.getDatasetmethod.Attributes: - dataId :
DataId Maps dimensions link names to their corresponding values.
- datasetRefs :
dict Maps
DatasetTypeto its correspondingDatasetRef.
Attributes Summary
dataIddatasetRefsAttributes Documentation
-
dataId¶
-
datasetRefs¶
- dataId :