LSSTApplications
18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __call__ (self, args) |
def | prepareForMultiProcessing (self) |
def | run (self, parsedCmd) |
def | makeTask (self, parsedCmd=None, args=None) |
def | precall (self, parsedCmd) |
def | runTask (self, task, dataRef, kwargs) |
Static Public Member Functions | |
def | getTargetList (parsedCmd, kwargs) |
Public Attributes | |
TaskClass | |
doReturnResults | |
config | |
log | |
doRaise | |
clobberConfig | |
doBackup | |
numProcesses | |
timeout | |
Static Public Attributes | |
int | TIMEOUT = 3600*24*30 |
Get parsed values into the CalibTask.run
Definition at line 351 of file constructCalibs.py.
def lsst.pipe.drivers.constructCalibs.CalibTaskRunner.__call__ | ( | self, | |
args | |||
) |
|
static |
Definition at line 354 of file constructCalibs.py.
|
inherited |
Create a Task instance. Parameters ---------- parsedCmd Parsed command-line options (used for extra task args by some task runners). args Args tuple passed to `TaskRunner.__call__` (used for extra task arguments by some task runners). Notes ----- ``makeTask`` can be called with either the ``parsedCmd`` argument or ``args`` argument set to None, but it must construct identical Task instances in either case. Subclasses may ignore this method entirely if they reimplement both `TaskRunner.precall` and `TaskRunner.__call__`.
Definition at line 282 of file cmdLineTask.py.
|
inherited |
Hook for code that should run exactly once, before multiprocessing. Notes ----- Must return True if `TaskRunner.__call__` should subsequently be called. .. warning:: Implementations must take care to ensure that no unpicklable attributes are added to the TaskRunner itself, for compatibility with multiprocessing. The default implementation writes package versions, schemas and configs, or compares them to existing files on disk if present.
Definition at line 312 of file cmdLineTask.py.
|
inherited |
Prepare this instance for multiprocessing Optional non-picklable elements are removed. This is only called if the task is run under multiprocessing.
Definition at line 174 of file cmdLineTask.py.
|
inherited |
Run the task on all targets. Parameters ---------- parsedCmd : `argparse.Namespace` Parsed command `argparse.Namespace`. Returns ------- resultList : `list` A list of results returned by `TaskRunner.__call__`, or an empty list if `TaskRunner.__call__` is not called (e.g. if `TaskRunner.precall` returns `False`). See `TaskRunner.__call__` for details. Notes ----- The task is run under multiprocessing if `TaskRunner.numProcesses` is more than 1; otherwise processing is serial.
Definition at line 183 of file cmdLineTask.py.
|
inherited |
Make the actual call to `runDataRef` for this task. Parameters ---------- task : `lsst.pipe.base.CmdLineTask` class The class of the task to run. dataRef Butler data reference that contains the data the task will process. kwargs Any additional keyword arguments. See `TaskRunner.getTargetList` above. Notes ----- The default implementation of `TaskRunner.runTask` works for any command-line task which has a runDataRef method that takes a data reference and an optional set of additional keyword arguments. This method returns the results generated by the task's `runDataRef` method.
Definition at line 428 of file cmdLineTask.py.
|
inherited |
Definition at line 161 of file cmdLineTask.py.
|
inherited |
Definition at line 158 of file cmdLineTask.py.
|
inherited |
Definition at line 162 of file cmdLineTask.py.
|
inherited |
Definition at line 160 of file cmdLineTask.py.
|
inherited |
Definition at line 157 of file cmdLineTask.py.
|
inherited |
Definition at line 159 of file cmdLineTask.py.
|
inherited |
Definition at line 163 of file cmdLineTask.py.
|
inherited |
Definition at line 156 of file cmdLineTask.py.
|
staticinherited |
Definition at line 152 of file cmdLineTask.py.
|
inherited |
Definition at line 165 of file cmdLineTask.py.