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 quallified class name of an instument.
40 The path to the location, the run, where datasets should be put.
45 If the instrument can not be imported, instantiated, or obtained from
48 If the instrument is not a subclass of lsst.obs.base.Instrument.
50 butler = Butler(repo, writeable=
True, run=output_run)
52 instr.writeCuratedCalibrations(butler)