|
lsst.obs.base
19.0.0-35-gb03e55a
|
Functions | |
| def | build_argparser () |
| def | parse_args (parser) |
| def | configure_translators (instrument, calibFilterType, ccdKey="ccd") |
| def | convert (gen2root, gen3root, instrumentClass, calibFilterType, skymapName=None, skymapConfig=None, calibs=None, reruns=[], config=None) |
| def | main () |
| def convertGen2RepoToGen3.build_argparser | ( | ) |
Definition at line 38 of file convertGen2RepoToGen3.py.
| def convertGen2RepoToGen3.configure_translators | ( | instrument, | |
| calibFilterType, | |||
ccdKey = "ccd" |
|||
| ) |
Configure the gen3 translators so they know the correct instrument name.
Parameters
----------
instrument : `lsst.obs.base.Instrument`
The instrument that conversion is going to be run on.
calibFilterType : `str`
Whether the gen2 calibRegistry uses ``physical_filter`` or
``abstract_filter`` as the ``filter`` key.
ccdKey : `str`, optional
The gen2 key used to identify what in gen3 is `detector`.
Definition at line 78 of file convertGen2RepoToGen3.py.
| def convertGen2RepoToGen3.convert | ( | gen2root, | |
| gen3root, | |||
| instrumentClass, | |||
| calibFilterType, | |||
skymapName = None, |
|||
skymapConfig = None, |
|||
calibs = None, |
|||
reruns = [], |
|||
config = None |
|||
| ) |
Convert the gen 2 Butler repo living at gen2root into a gen 3 repo
living at gen3root.
Parameters
----------
gen2root : `str`
Root path to the gen2 repo to be converted.
gen3root : `str`
Root path to the gen3 output repo.
instrumentClass : `str`
Full python path to the `lsst.obs.base.Instrument` class of the repo
being converted.
calibFilterType : `str`
`abstract_filter` or `physical_filter`, depending on the type of
``filter`` in the gen2 calib registry.
skymapName : `str`, optional
Name of the skymap to be converted in the repo.
skymapConfig : `str`, optional
Path to the `lsst.skymap.BaseSkyMapConfig` of the gen2 skymap to be
converted.
calibs : `str`, optional
Path to the gen2 calibration repository to be converted.
If a relative path, it is assumed to be relative to ``gen2root``.
reruns : `list` [`str`], optional
List of reruns to convert. They will be placed in the
``shared/INSTRUMENT/RERUN`` collection.
config : `str`, optional
Path to `lsst.obs.base.ConvertRepoConfig` configuration to load
after all default/instrument configurations.
Definition at line 137 of file convertGen2RepoToGen3.py.
| def convertGen2RepoToGen3.main | ( | ) |
To be run by the commandline script in `bin/`.
Definition at line 203 of file convertGen2RepoToGen3.py.
| def convertGen2RepoToGen3.parse_args | ( | parser | ) |
Definition at line 68 of file convertGen2RepoToGen3.py.
1.8.13