lsst.pipe.tasks  13.0-54-gc325bc5f+1
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.tasks.ingest.IngestTask Class Reference
Inheritance diagram for lsst.pipe.tasks.ingest.IngestTask:
lsst.pipe.tasks.ingestCalibs.IngestCalibsTask lsst.pipe.tasks.ingestPgsql.PgsqlIngestTask

Public Member Functions

def __init__
 
def parseAndRun
 
def ingest
 
def isBadFile
 
def isBadId
 
def expandFiles
 Expand a set of filenames and globs, returning a list of filenames. More...
 
def run
 

Static Public Attributes

 ConfigClass = IngestConfig
 
 ArgumentParser = IngestArgumentParser
 

Detailed Description

Task that will ingest images into the data repository

Definition at line 381 of file ingest.py.

Constructor & Destructor Documentation

def lsst.pipe.tasks.ingest.IngestTask.__init__ (   self,
  args,
  kwargs 
)

Definition at line 387 of file ingest.py.

Member Function Documentation

def lsst.pipe.tasks.ingest.IngestTask.expandFiles (   self,
  fileNameList 
)

Expand a set of filenames and globs, returning a list of filenames.

Parameters
fileNameListA list of files and glob patterns

N.b. globs obey Posix semantics, so a pattern that matches nothing is returned unchanged

Definition at line 473 of file ingest.py.

def lsst.pipe.tasks.ingest.IngestTask.ingest (   self,
  infile,
  outfile,
  mode = "move",
  dryrun = False 
)
Ingest a file into the image repository.

@param infile  Name of input file
@param outfile Name of output file (file in repository)
@param mode    Mode of ingest (copy/link/move/skip)
@param dryrun  Only report what would occur?
@param Success boolean

Definition at line 401 of file ingest.py.

def lsst.pipe.tasks.ingest.IngestTask.isBadFile (   self,
  filename,
  badFileList 
)
Return whether the file qualifies as bad

We match against the list of bad file patterns.

Definition at line 448 of file ingest.py.

def lsst.pipe.tasks.ingest.IngestTask.isBadId (   self,
  info,
  badIdList 
)
Return whether the file information qualifies as bad

We match against the list of bad data identifiers.

Definition at line 461 of file ingest.py.

def lsst.pipe.tasks.ingest.IngestTask.parseAndRun (   cls)
Parse the command-line arguments and run the Task

Definition at line 393 of file ingest.py.

def lsst.pipe.tasks.ingest.IngestTask.run (   self,
  args 
)
Ingest all specified files and add them to the registry

Definition at line 492 of file ingest.py.

Member Data Documentation

lsst.pipe.tasks.ingest.IngestTask.ArgumentParser = IngestArgumentParser
static

Definition at line 384 of file ingest.py.

lsst.pipe.tasks.ingest.IngestTask.ConfigClass = IngestConfig
static

Definition at line 383 of file ingest.py.


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