DataIdContainer

class lsst.pipe.base.DataIdContainer(level=None)[source]

Bases: object

Container for data IDs and associated data references.

Parameters:

level

Unknown.

Notes

Override for data IDs that require special handling to be converted to data references, and specify the override class as ContainerClass for add_id_argument. (If you don’t want the argument parser to compute data references, you may use this class and specify doMakeDataRefList=False in add_id_argument.)

Methods Summary

castDataIds(butler) Validate data IDs and cast them to the correct type (modify idList in place).
makeDataRefList(namespace) Compute refList based on idList.
setDatasetType(datasetType) Set actual dataset type, once it is known.

Methods Documentation

castDataIds(butler)[source]

Validate data IDs and cast them to the correct type (modify idList in place).

Parameters:

butler : lsst.daf.persistence.Butler

Data butler.

makeDataRefList(namespace)[source]

Compute refList based on idList.

Parameters:

namespace

Results of parsing command-line (with butler and log elements).

Notes

Not called if add_id_argument called with doMakeDataRefList=False.

setDatasetType(datasetType)[source]

Set actual dataset type, once it is known.

Parameters:

datasetType : str

Dataset type.