CollectionType¶
- class lsst.daf.butler.registry.CollectionType(value)¶
Bases:
IntEnumEnumeration used to label different types of collections.
Attributes Summary
A
CALIBRATIONcollection operates like aTAGGEDcollection, but also associates each dataset with a validity range as well.A
CHAINEDcollection is simply an ordered list of other collections to be searched.A
RUNcollection (also just called a 'run') is the initial collection a dataset is inserted into and the only one it can never be removed from.Datasets can be associated with and removed from
TAGGEDcollections arbitrarily.Attributes Documentation
- CALIBRATION = 4¶
A
CALIBRATIONcollection operates like aTAGGEDcollection, but also associates each dataset with a validity range as well. Queries against calibration collections must include a timestamp as an input.It is difficult (perhaps impossible) to enforce a constraint that there be one dataset with a particular dataset type and data ID at any particular timestamp in the database, so higher-level tools that populate calibration collections are expected to maintain that invariant instead.
- CHAINED = 3¶
A
CHAINEDcollection is simply an ordered list of other collections to be searched. These may include otherCHAINEDcollections.
- RUN = 1¶
A
RUNcollection (also just called a ‘run’) is the initial collection a dataset is inserted into and the only one it can never be removed from.Within a particular run, there may only be one dataset with a particular dataset type and data ID.
- TAGGED = 2¶
Datasets can be associated with and removed from
TAGGEDcollections arbitrarily.Within a particular tagged collection, there may only be one dataset with a particular dataset type and data ID.