PerTractCcdDataIdContainer

class lsst.jointcal.dataIds.PerTractCcdDataIdContainer(level=None)

Bases: lsst.coadd.utils.coaddDataIdContainer.CoaddDataIdContainer

A version of lsst.pipe.base.DataIdContainer that combines raw data IDs (defined as whatever we use for ‘src’) with a tract.

Methods Summary

castDataIds(butler) Validate data IDs and cast them to the correct type (modify idList in place).
getSkymap(namespace) Only retrieve skymap if required
makeDataRefList(namespace) Make self.refList from self.idList
setDatasetType(datasetType) Set actual dataset type, once it is known.

Methods Documentation

castDataIds(butler)

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

Parameters:
butler

data butler

getSkymap(namespace)

Only retrieve skymap if required

makeDataRefList(namespace)

Make self.refList from self.idList

setDatasetType(datasetType)

Set actual dataset type, once it is known.

Parameters:
datasetType : str

Dataset type.

Notes

The reason datasetType is not a constructor argument is that some subclasses do not know the dataset type until the command is parsed. Thus, to reduce special cases in the code, datasetType is always set after the command is parsed.