lsst.obs.base  21.0.0-16-ged67d9d+3a5303f2d3
Functions
lsst.obs.base.script.ingestRaws Namespace Reference

Functions

def ingestRaws (repo, locations, regex, output_run, config=None, config_file=None, transfer="auto", processes=1, ingest_task="lsst.obs.base.RawIngestTask")
 

Function Documentation

◆ ingestRaws()

def lsst.obs.base.script.ingestRaws.ingestRaws (   repo,
  locations,
  regex,
  output_run,
  config = None,
  config_file = None,
  transfer = "auto",
  processes = 1,
  ingest_task = "lsst.obs.base.RawIngestTask" 
)
Ingests raw frames into the butler registry

Parameters
----------
repo : `str`
    URI to the repository.
locations : `list` [`str`]
    Files to ingest and directories to search for files that match
    ``regex`` to ingest.
regex : `str`
    Regex string used to find files in directories listed in locations.
output_run : `str`
    The path to the location, the run, where datasets should be put.
config : `dict` [`str`, `str`] or `None`
    Key-value pairs to apply as overrides to the ingest config.
config_file : `str` or `None`
    Path to a config file that contains overrides to the ingest config.
transfer : `str` or None
    The external data transfer type, by default "auto".
processess : `int`
    Number of processes to use for ingest.
ingest_task : `str`
    The fully qualified class name of the ingest task to use by default
    lsst.obs.base.RawIngestTask.

Raises
------
Exception
    Raised if operations on configuration object fail.

Definition at line 28 of file ingestRaws.py.