ConfigPpdbLoader

ConfigPpdbLoader creates a lsst.dax.ppdb.Ppdb object from a science task config that contains a PpdbConfig. This provides users with a Ppdb object that accesses the same database as the original science task.

This task is intended for use as a subtask of lsst.verify.tasks.ppdbMetricTask.PpdbMetricTask.

Processing summary

ConfigPpdbLoader takes a config as input, and searches it and all sub-configs for a lsst.dax.ppdb.PpdbConfig. If it finds one, it constructs a Ppdb object based on that config and returns it. If the input config has multiple PpdbConfig sub-configs, ConfigPpdbLoader does not make any guarantees about which one will be used.

Python API summary

from lsst.verify.tasks.ppdbMetricTask import ConfigPpdbLoader
classConfigPpdbLoader(**kwargs)

A Task that takes a science task config and returns the corresponding Ppdb object...

attributeconfig

Access configuration fields and retargetable subtasks.

methodrun(config)

Create a database consistent with a science task config...

See also

See the ConfigPpdbLoader API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

No configuration fields.