lsst.obs.base  19.0.0-45-ge80c878+1
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.obs.base.ingest.RawIngestTask Class Reference
Inheritance diagram for lsst.obs.base.ingest.RawIngestTask:

Public Member Functions

def getDatasetType (self)
 
def __init__
 
def extractMetadata
 
def groupByExposure
 
def expandDataIds
 
def prep
 
def ingestExposureDatasets
 
def run
 

Public Attributes

 butler
 
 universe
 
 datasetType
 

Static Public Attributes

 ConfigClass = RawIngestConfig
 

Detailed Description

Driver Task for ingesting raw data into Gen3 Butler repositories.

Parameters
----------
config : `RawIngestConfig`
    Configuration for the task.
butler : `~lsst.daf.butler.Butler`
    Writeable butler instance, with ``butler.run`` set to the appropriate
    `~lsst.daf.butler.CollectionType.RUN` collection for these raw
    datasets.
**kwargs
    Additional keyword arguments are forwarded to the `lsst.pipe.base.Task`
    constructor.

Notes
-----
Each instance of `RawIngestTask` writes to the same Butler.  Each
invocation of `RawIngestTask.run` ingests a list of files.

Definition at line 160 of file ingest.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.obs.base.ingest.RawIngestTask.__init__ (   self,
  config 
)

Definition at line 191 of file ingest.py.

Member Function Documentation

◆ expandDataIds()

def lsst.obs.base.ingest.RawIngestTask.expandDataIds (   self,
  data 
)

Definition at line 284 of file ingest.py.

◆ extractMetadata()

def lsst.obs.base.ingest.RawIngestTask.extractMetadata (   self,
  filename 
)

Definition at line 198 of file ingest.py.

◆ getDatasetType()

def lsst.obs.base.ingest.RawIngestTask.getDatasetType (   self)
Return the DatasetType of the datasets ingested by this Task.

Definition at line 185 of file ingest.py.

◆ groupByExposure()

def lsst.obs.base.ingest.RawIngestTask.groupByExposure (   self,
  files 
)

Definition at line 259 of file ingest.py.

◆ ingestExposureDatasets()

def lsst.obs.base.ingest.RawIngestTask.ingestExposureDatasets (   self,
  exposure 
)

Definition at line 376 of file ingest.py.

◆ prep()

def lsst.obs.base.ingest.RawIngestTask.prep (   self,
  files,
  pool 
)

Definition at line 326 of file ingest.py.

◆ run()

def lsst.obs.base.ingest.RawIngestTask.run (   self,
  files,
  pool 
)

Definition at line 402 of file ingest.py.

Member Data Documentation

◆ butler

lsst.obs.base.ingest.RawIngestTask.butler

Definition at line 194 of file ingest.py.

◆ ConfigClass

lsst.obs.base.ingest.RawIngestTask.ConfigClass = RawIngestConfig
static

Definition at line 181 of file ingest.py.

◆ datasetType

lsst.obs.base.ingest.RawIngestTask.datasetType

Definition at line 196 of file ingest.py.

◆ universe

lsst.obs.base.ingest.RawIngestTask.universe

Definition at line 195 of file ingest.py.


The documentation for this class was generated from the following file: