make_apdb.py

Create a Alert Production Database using config overrides for lsst.ap.pipe.ApPipeConfig.

This script takes the same --config and --configfile arguments as command-line tasks. Calling ap_pipe.py with the same arguments uses the newly created database.

The config overrides must define apdb.db_url to create a valid config.

usage: make_apdb.py [-h] [-c [NAME=VALUE [NAME=VALUE ...]]]
                    [-C [CONFIGFILE [CONFIGFILE ...]]]

optional arguments

-h, --help

show this help message and exit

-c, --config

config override(s), e.g. -c apdb.prefix=fancy apdb.db_url="sqlite://"

-C, --configfile

config override file(s) for ApPipeConfig