Skip to content

Commit

Permalink
Merge pull request #84 from GOTO-OBS/hop
Browse files Browse the repository at this point in the history
Add new GCN alerts and SCIMMA broker
  • Loading branch information
martinjohndyer authored Jul 30, 2024
2 parents 83577d7 + 2b518cf commit ce05796
Show file tree
Hide file tree
Showing 78 changed files with 4,518 additions and 2,899 deletions.
10 changes: 3 additions & 7 deletions .alert.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@
#############################################################

# Sentinel parameters
# # If using a socket host:
VOSERVER_HOST = 68.169.57.253
VOSERVER_PORT = 8099
LOCAL_IVO = ivo://org.TEST
# # If using Kafka:
KAFKA_CLIENT_ID = unknown
KAFKA_CLIENT_SECRET = unknown
KAFKA_USER = <add user here>
KAFKA_PASSWORD = <add password here>

# Set this to 1 to process test notices as if they were real:
PROCESS_TEST_NOTICES = 0

Expand Down
7 changes: 5 additions & 2 deletions gtecs/alert/data/configspec.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ PYRO_TIMEOUT = integer(default=5)
LOCAL_IVO = string(default='ivo://gtecs_alert/anonymous')
VOSERVER_HOST = string(default='68.169.57.253')
VOSERVER_PORT = integer(default=8099)
KAFKA_CLIENT_ID = string(default='unknown')
KAFKA_CLIENT_SECRET = string(default='unknown')
KAFKA_USER = string(default='unknown')
KAFKA_PASSWORD = string(default='unknown')
KAFKA_BROKER = string(default='SCIMMA')
KAFKA_GROUP_ID = string(default='gtecs_alert')
KAFKA_BACKDATE = integer(default=1)

# Filter parameters
PROCESS_TEST_NOTICES = integer(default=0)
Expand Down
18 changes: 18 additions & 0 deletions gtecs/alert/data/test_notices/EinsteinProbe/01709002661-WXT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://gcn.nasa.gov/schema/v4.0.0/gcn/notices/einstein_probe/wxt/alert.schema.json",
"instrument": "WXT",
"trigger_time": "2024-07-28T05:49:10.549Z",
"id": [
"01709002661"
],
"ra": 330.538,
"dec": 37.965,
"ra_dec_error": 0.05107808,
"image_energy_range": [
0.5,
4
],
"net_count_rate": 0.05,
"image_snr": 8.3,
"additional_info": "The net count rate is derived from an accumulated image (up to 20 min) in 0.5-4 keV, assuming a constant flux. However, it can be significantly lower than the actual count rate of a burst with a duration much shorter than 20 min."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://gcn.nasa.gov/schema/v4.0.0/gcn/notices/einstein_probe/wxt/alert.schema.json",
"instrument": "WXT",
"trigger_time": "2024-06-18T05:44:19.949Z",
"ra": 281.612999999,
"dec": 23.829999999,
"ra_dec_error": 0.05081966,
"image_energy_range": [
0.5,
4
],
"net_count_rate": 0.06,
"image_snr": 10.1,
"additional_info": "The net count rate is derived from an accumulated image (up to 20 min) in 0.5-4 keV, assuming a constant flux. However, it can be significantly lower than the actual count rate of a burst with a duration much shorter than 20 min."
}
109 changes: 0 additions & 109 deletions gtecs/alert/data/test_notices/Fermi#624500874-GBM_Fin_Pos.xml

This file was deleted.

109 changes: 0 additions & 109 deletions gtecs/alert/data/test_notices/Fermi#632717654-GBM_Fin_Pos.xml

This file was deleted.

105 changes: 0 additions & 105 deletions gtecs/alert/data/test_notices/Fermi#637664914-GBM_Fin_Pos.xml

This file was deleted.

Loading

0 comments on commit ce05796

Please sign in to comment.