LSSTApplications
19.0.0-1-g1faeb96+1,19.0.0-1-g8c57eb9+36,19.0.0-1-ga3b31f8+9,19.0.0-1-gad49e94+1,19.0.0-10-g3250e53+1,19.0.0-15-g7d47663+6,19.0.0-17-gde1f5b76+9,19.0.0-18-gfb21c91+8,19.0.0-2-g15ad1b6+8,19.0.0-2-g2ed0b45+3,19.0.0-2-g4aada73+1,19.0.0-2-g5e94dc7+3,19.0.0-2-g6e0b8f9,19.0.0-2-g822544a+8,19.0.0-2-gb013ac2+8,19.0.0-2-gd82b0d5+9,19.0.0-20-g12a598f+6,19.0.0-20-g3336a1e+9,19.0.0-22-gd98cb7f78+2,19.0.0-23-g2f46faf+6,19.0.0-23-g4cc2bcb+6,19.0.0-3-g3912c24,19.0.0-3-g57fcecc+8,19.0.0-3-g9629746+3,19.0.0-3-g99a058e+1,19.0.0-3-ga84a0ef+1,19.0.0-3-gbea416a+3,19.0.0-3-gc70e9ed+1,19.0.0-3-gc851abf+9,19.0.0-4-gb4e0033,19.0.0-4-gc799371+9,19.0.0-5-g309d03d+4,19.0.0-5-gac6c5c4+4,19.0.0-57-gef2e0c0,19.0.0-59-g5d40e1c7+2,19.0.0-6-g4aaee92+9,19.0.0-6-g60c8ecb,19.0.0-6-gce3e386+9,19.0.0-8-g967c747+1,19.0.0-8-gb750100+8,w.2020.19
LSSTDataManagementBasePackage
|
Functions | |
def | build_argparser () |
def | parse_args (parser) |
def | convert (gen2root, gen3root, instrumentClass, skymapName=None, skymapConfig=None, calibs=None, reruns=[], config=None, transferMode="auto") |
def | main () |
def convertGen2RepoToGen3.build_argparser | ( | ) |
Definition at line 36 of file convertGen2RepoToGen3.py.
def convertGen2RepoToGen3.convert | ( | gen2root, | |
gen3root, | |||
instrumentClass, | |||
skymapName = None , |
|||
skymapConfig = None , |
|||
calibs = None , |
|||
reruns = [] , |
|||
config = None , |
|||
transferMode = "auto" |
|||
) |
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. 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. transferMode : `str`, optional Mode to use when transferring data into the gen3 repository.
Definition at line 77 of file convertGen2RepoToGen3.py.
def convertGen2RepoToGen3.main | ( | ) |
To be run by the commandline script in `bin/`.
Definition at line 141 of file convertGen2RepoToGen3.py.
def convertGen2RepoToGen3.parse_args | ( | parser | ) |
Definition at line 67 of file convertGen2RepoToGen3.py.