Skip to content
Snippets Groups Projects

HIGH_PROFILE label for RRT

All threads resolved!
Compare and
2 files
+ 61
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -22,6 +22,7 @@ from . import gracedb
from . import inference
from . import igwn_alert
from . import p_astro
from . import rrt_utils
from . import skymaps
from . import superevents
@@ -1081,10 +1082,15 @@ def earlywarning_preliminary_initial_update_alert(
# For kafka alerts the analogous field is set in alerts.py.
# (see comment before defining kafka_alert_canvas)
voevent_significance = 0 if alert_type == 'less-significant' else 1
high_profile_canvas = identity.si()
if filecontents and not combined_skymap_filename:
skymap, em_bright, p_astro = filecontents
# check high profile and apply label if true
high_profile_canvas = rrt_utils.check_high_profile.si(
skymap, em_bright, p_astro, superevent
)
download_andor_expose_group = []
voevent_canvas = _create_voevent.si(
@@ -1179,6 +1185,7 @@ def earlywarning_preliminary_initial_update_alert(
group(
sent_label_canvas,
circular_canvas,
high_profile_canvas
)
)
Loading