make_apdb.py

Create a Alert Production Database using config overrides for lsst.dax.apdb.ApdbConfig.

This script takes the same --config and --config-file arguments as pipeline runs. However, the configs are at a lower level than the AP pipeline.

The config overrides must define 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 prefix=fancy db_url="sqlite://"

-C, --config-file

config override file(s) for ApdbConfig