LSSTApplications
18.0.0+112,18.0.0+52,19.0.0,19.0.0+1,19.0.0+14,19.0.0+15,19.0.0+17,19.0.0+22,19.0.0+3,19.0.0-1-g20d9b18+8,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+8,19.0.0-1-g6fe20d0+2,19.0.0-1-g7011481+13,19.0.0-1-g8c57eb9+8,19.0.0-1-gdc0e4a7+13,19.0.0-1-ge272bc4+8,19.0.0-1-ge3aa853+1,19.0.0-12-g296864c0+2,19.0.0-15-g85ac9ad,19.0.0-2-g0d9f9cd+15,19.0.0-2-g5037de4+1,19.0.0-2-g9b11441+2,19.0.0-2-gb96a1c4+9,19.0.0-2-gd955cfd+21,19.0.0-3-g97e0e8e9+1,19.0.0-4-g41ffa1d+1,19.0.0-4-g725f80e+17,19.0.0-4-ga8eba22,19.0.0-4-gad373c5+8,19.0.0-5-gb9a06e236+1,19.0.0-5-gfe96e6c+6,19.0.0-7-gea0a0fe+4,w.2020.02
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ |
def | apply |
Public Attributes | |
filePathParser | |
translator | |
datasetType | |
A class that extracts Gen3 data IDs from Gen2 filenames for a particular dataset type. Parameters ---------- datasetTypeName : `str` Name of the dataset type the object will process. storageClass : `str` or `lsst.daf.butler.StorageClass` Gen3 storage class of the dataset type. universe : `lsst.daf.butler.DimensionUniverse` Object containing all dimension definitions. instrument : `str` Name of the Gen3 instrument for output data IDs that include that dimension. filePathParser : `FilePathParser`, optional Object responsible for reading a Gen2 data ID from a filename. Will be created from ``mapper`` if not provided. translator : `Translator`, optional Object responsible for converting a Gen2 data ID into a Gen3 data ID. Will be created if not provided. mapping : `lsst.obs.base.Mapper`, optional Object that defines a Gen2 dataset type. Must be provided if ``filePathParser`` is not. skyMap : `lsst.skymap.BaseSkyMap`, optional SkyMap that defines tracts and patches. Must be provided for datasets with a ``patch`` key in their data IDs. skyMapName: `str`, optional Name of the Gen3 skymap for output data IDs that include that dimension. Raises ------ RuntimeError Raised if the given mapping has no template.
Definition at line 33 of file dataIdExtractor.py.
def lsst.obs.base.gen2to3.dataIdExtractor.DataIdExtractor.__init__ | ( | self, | |
datasetTypeName | |||
) |
Definition at line 70 of file dataIdExtractor.py.
def lsst.obs.base.gen2to3.dataIdExtractor.DataIdExtractor.apply | ( | self, | |
fileNameInRoot | |||
) |
Definition at line 88 of file dataIdExtractor.py.
lsst.obs.base.gen2to3.dataIdExtractor.DataIdExtractor.datasetType |
Definition at line 85 of file dataIdExtractor.py.
lsst.obs.base.gen2to3.dataIdExtractor.DataIdExtractor.filePathParser |
Definition at line 80 of file dataIdExtractor.py.
lsst.obs.base.gen2to3.dataIdExtractor.DataIdExtractor.translator |
Definition at line 84 of file dataIdExtractor.py.