lsst.obs.base  20.0.0-42-g12e5eb2+10c4e6ad3a
Functions | Variables
lsst.obs.base.script.writeCuratedCalibrations Namespace Reference

Functions

def writeCuratedCalibrations (repo, instrument, output_run)
 

Variables

 log = logging.getLogger(__name__)
 

Function Documentation

◆ writeCuratedCalibrations()

def lsst.obs.base.script.writeCuratedCalibrations.writeCuratedCalibrations (   repo,
  instrument,
  output_run 
)
Add an instrument's curated calibrations to the data repository.

Parameters
----------
repo : `str`
    URI to the location to create the repo.
instrument : `str`
    The name or the fully qualified class name of an instrument.
output_run : `str`
    The path to the location, the run, where datasets should be put.
    Can be `None` in which case the collection name will be determined
    automatically.

Raises
------
RuntimeError
    Raised if the instrument can not be imported, instantiated, or obtained
    from the registry.
TypeError
    Raised if the instrument is not a subclass of
    `lsst.obs.base.Instrument`.

Definition at line 30 of file writeCuratedCalibrations.py.

Variable Documentation

◆ log

lsst.obs.base.script.writeCuratedCalibrations.log = logging.getLogger(__name__)

Definition at line 27 of file writeCuratedCalibrations.py.