24 from lsst.daf.butler
import Butler
25 from ..utils
import getInstrument
27 log = logging.getLogger(__name__)
31 """Add an instrument's curated calibrations to the data repository.
36 URI to the location to create the repo.
38 The name or the fully qualified class name of an instrument.
40 The path to the location, the run, where datasets should be put.
41 Can be `None` in which case the collection name will be determined
47 Raised if the instrument can not be imported, instantiated, or obtained
50 Raised if the instrument is not a subclass of
51 `lsst.obs.base.Instrument`.
53 butler = Butler(repo, writeable=
True)
55 instr.writeCuratedCalibrations(butler, run=output_run)