CollectionType

class lsst.daf.butler.registry.CollectionType(value)

Bases: IntEnum

Enumeration used to label different types of collections.

Attributes Summary

CALIBRATION

A CALIBRATION collection operates like a TAGGED collection, but also associates each dataset with a validity range as well.

CHAINED

A CHAINED collection is simply an ordered list of other collections to be searched.

RUN

A RUN collection (also just called a 'run') is the initial collection a dataset is inserted into and the only one it can never be removed from.

TAGGED

Datasets can be associated with and removed from TAGGED collections arbitrarily.

Attributes Documentation

CALIBRATION = 4

A CALIBRATION collection operates like a TAGGED collection, 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 CHAINED collection is simply an ordered list of other collections to be searched. These may include other CHAINED collections.

RUN = 1

A RUN collection (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 TAGGED collections arbitrarily.

Within a particular tagged collection, there may only be one dataset with a particular dataset type and data ID.