PackageAlertsConfig#
- class lsst.ap.association.PackageAlertsConfig(*args, **kw)#
Bases:
ConfigConfig class for AssociationTask.
Attributes Summary
Location to write alerts to.
Sets the time to wait for the producer to wait to deliver an alert in milliseconds.
Turn on alert production to kafka if true and if confluent_kafka is in the environment.
Write alerts to disk if true.
If an alert cannot be sent when doProduceAlerts is set, write it to disk for debugging purposes.
Dimension of the square image cutouts to package in the alert.
Sets the maximum time in seconds to wait for the alert stream broker to respond to a query before timing out.
Dimension of the square image cutouts to package in the alert.
Schema definition file URI for the avro alerts.
Use the average PSF for the image, instead of the PSF for each cutout.
Attributes Documentation
- alertWriteLocation#
Location to write alerts to. (
str, default'/j/workspace/sqre/infra/documenteer/doc_template/alerts')
- deliveryTimeout#
Sets the time to wait for the producer to wait to deliver an alert in milliseconds. (
float, default1200.0)
- doProduceAlerts#
Turn on alert production to kafka if true and if confluent_kafka is in the environment. (
bool, defaultFalse)
- doWriteAlerts#
Write alerts to disk if true. (
bool, defaultFalse)
- doWriteFailedAlerts#
If an alert cannot be sent when doProduceAlerts is set, write it to disk for debugging purposes. (
bool, defaultFalse)
- maxCutoutSize#
Dimension of the square image cutouts to package in the alert. Thedefault size comes from the max trail length in arcseconds (10 deg/day) for a 30 second observation divided by thearcseconds per pixel (0.2), which is 62.5 pixels. The effectivesize of the psf (40 pixels) is then added for a total of 102 pixels. (
int, default102)Valid Range = [0,1000)
- maxTimeout#
Sets the maximum time in seconds to wait for the alert stream broker to respond to a query before timing out. (
float, default15.0)
- minCutoutSize#
Dimension of the square image cutouts to package in the alert. (
int, default30)Valid Range = [0,1000)
- schemaFile#
Schema definition file URI for the avro alerts. (
str, default'resource://lsst.alert.packet/schema/10/0/lsst.v10_0.alert.avsc')
- useAveragePsf#
Use the average PSF for the image, instead of the PSF for each cutout. This option is much less accurate, but much faster. (
bool, defaultFalse)