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.
labels : `Sequence` [ `str` ]
Extra strings to include in the names of 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.