lsst.pipe.tasks g226e71a814+a544df97bc
Classes | Functions
lsst.pipe.tasks.script.registerSkymap Namespace Reference

Classes

class  MakeSkyMapConfig
 

Functions

def makeSkyMap (butler, config)
 
def registerSkymap (repo, config, config_file)
 

Function Documentation

◆ makeSkyMap()

def lsst.pipe.tasks.script.registerSkymap.makeSkyMap (   butler,
  config 
)
Construct and save a SkyMap into a gen3 butler repository.

Parameters
----------
butler : `lsst.daf.butler.Butler`
    Butler repository to which the new skymap will be written.
config : `MakeSkyMapConfig` or None
    Instance of a configuration class specifying task options.

Definition at line 52 of file registerSkymap.py.

◆ registerSkymap()

def lsst.pipe.tasks.script.registerSkymap.registerSkymap (   repo,
  config,
  config_file 
)
Make and register a SkyMap in a butler repository.

Parameters
----------
repo : `str`
    URI to the location of the butler repository.
config : `dict` [`str`, `str`] or `None`
    Key-value pairs to apply as overrides to the ingest config.
config_file : `str` or `None`
    Path to a config overrides file.

Raises
------
RuntimeError
    If a config overrides file is given and does not exist.

Definition at line 67 of file registerSkymap.py.