ingest_injection_catalog

Ingest a source injection catalog into the butler.

This script reads an on-disk input catalog or multiple per-band input catalogs and ingests these data into the butler. Catalogs are read in using the astropy Table API.

An attempt at auto-identification of the input catalog file format type will be made for each input. A manually specified format can instead be specified for all input catalogs using the --format option.

Each injection catalog must be associated with at least one band, specified immediately after the path to the input catalog. Multiple space-separated bands can be provided for a single input catalog. The injection catalog option may also be called multiple times to ingest multiple per-band catalogs.

usage: ingest_injection_catalog -b TEXT -i FILE BAND [BAND ...] -o COLL
                                [-t TEXT] [--format TEXT] [-h]

More information is available at https://pipelines.lsst.io.

options

-b <text>, --butler-config <text>

Location of the butler/registry config file.

-i <file band> <band>, --injection-catalog <file band> <band>

Location of the input source injection catalog and all associated bands.

-o <coll>, --output-collection <coll>

Name of the output collection to ingest the injection catalog into.

-t <text>, --dataset-type-name <text>

Output dataset type name for the ingested source injection catalog.

--format <text>

Format of the input injection catalog(s), overriding auto-identification.

-h, --help

Show this help message and exit.