lsst.obs.base  20.0.0-73-gf477d90+d0de1c7e9f
Functions | Variables
lsst.obs.base.script.writeCuratedCalibrations Namespace Reference

Functions

def writeCuratedCalibrations (repo, instrument, collection, suffix)
 

Variables

 log = logging.getLogger(__name__)
 

Function Documentation

◆ writeCuratedCalibrations()

def lsst.obs.base.script.writeCuratedCalibrations.writeCuratedCalibrations (   repo,
  instrument,
  collection,
  suffix 
)
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.
collection : `str` or `None`
    The path to the collection that assocaites datasets with validity
    ranges.
    Can be `None` in which case the collection name will be determined
    automatically.
suffix : `str`
    Suffix to add to the RUN collections that datasets are inserted
    directly into, and if ``collection`` is `None`, the automatic
    calibration collection name as well.

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.