You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sent message to kafka://kafka.scimma.org/snews.experiments-firedrill
135
+
--------------------------------
136
+
id: DUNE_CoincidenceTier_None
137
+
uuid: 0a2124c0-5069-4e31-ac03-cb3e8ba45f08
138
+
tier: Tier.COINCIDENCE_TIER
139
+
sent_time_utc: 2025-11-05T17:43:04.865601000Z
140
+
machine_time_utc: None
141
+
is_pre_sn: False
142
+
is_test: False
143
+
is_firedrill: False
144
+
meta: None
145
+
schema_version: 0.2
146
+
detector_name: DUNE
147
+
p_val: None
148
+
neutrino_time_utc: 2025-11-05T10:52:13.345275000Z
149
+
--------------------------------
150
+
```
151
+
152
+
**Note**: For authentication purposes, the detector name is read from the environment file. If the detector name in the JSON file does not match the detector name in the environment file, a warning is printed and the detector name from the environment file is used.
121
153
122
154
## Retraction Messages
123
155
@@ -126,37 +158,50 @@ These are also messages created by `SNEWSTierPublisher` with some specific keys.
126
158
Let's first check what arguments belong to retraction message.
The fields with the asterisk `*` is the keyword that is needed to select this tier. In this case, input should have `retract_latest` key in order to create a retraction message.
179
+
The fields with REQUIRED USER INPUT are the keywords that are needed to select this tier. In this case, input should have `retract_latest_n` key in order to create a retraction message for the last two messages from the detector named `DUNE`
Since in this example, only the `neutrino_time` is passed, the message is created for the Coincidence Tier. This also assumes that the detector name has already been set by `snews_pt.snews_pt_utils.set_name()` function.
34
+
Since in this example, only the `neutrino_time_utc` is passed, the message is created for the Coincidence Tier. This also assumes that the detector name has already been set by `snews_pt.snews_pt_utils.set_name()` function.
35
35
36
36
The messages are validated upon creation and if the required fields are not passed, or the format is wrong the software raises an error.
37
37
Furthermore, the `messages` objects can be inspected before sending them to the SNEWS server. It contains information about the selected tiers and the generated messages.
@@ -47,7 +47,7 @@ messages.send_messages()
47
47
Where the `myjsonfile.json` contains the following information;
@@ -63,4 +63,4 @@ Where the `firedrill_mode` argument is used to select the firedrill topic from t
63
63
The same functionalities can be achieved using the command line interface. The following command sends the message in the file `myjsonfile.json` to the SNEWS server.
0 commit comments