Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add first notices for svom/eclairs #126

Merged
merged 13 commits into from
Jun 20, 2024
18 changes: 18 additions & 0 deletions gcn/notices/svom/eclairs/trigger.catalog.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/trigger.schema.json",
"instrument": "ECLAIRs",
"alert_datetime": "2024-02-22T08:51:55",
"alert_tense": "test",
"alert_type": "initial",
"id": ["sb24022203"],
"event_name": ["M1"],
"trigger_time": "2024-02-22T08:51:31.320000",
"ra": 143.2478,
"dec": -68.0289,
"ra_dec_error": 0.1,
"image_snr": 25.67,
"image_duration": 0.0,
"image_energy_range": [4, 20],
"trigger_type": "rate",
"slew_status": "not_requested"
}
17 changes: 17 additions & 0 deletions gcn/notices/svom/eclairs/trigger.not-slewing.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/trigger.schema.json",
"instrument": "ECLAIRs",
"alert_datetime": "2024-02-22T08:51:55",
"alert_tense": "test",
"alert_type": "update",
"id": ["sb24022203"],
"trigger_time": "2024-02-22T08:51:31.320000",
"ra": 143.2478,
"dec": -68.0289,
"ra_dec_error": 0.1,
"image_snr": 25.67,
"image_duration": 0.0,
"image_energy_range": [4, 20],
"trigger_type": "rate",
"slew_status": "rejected"
}
17 changes: 17 additions & 0 deletions gcn/notices/svom/eclairs/trigger.slewing.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/trigger.schema.json",
"instrument": "ECLAIRs",
"alert_datetime": "2024-02-22T08:51:55",
"alert_tense": "test",
"alert_type": "update",
"id": ["sb24022203"],
"trigger_time": "2024-02-22T08:51:31.320000",
"ra": 143.2478,
"dec": -68.0289,
"ra_dec_error": 0.1,
"image_snr": 25.67,
"image_duration": 0.0,
"image_energy_range": [4, 20],
"trigger_type": "rate",
"slew_status": "accepted"
}
17 changes: 17 additions & 0 deletions gcn/notices/svom/eclairs/trigger.wakeup.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/trigger.schema.json",
"instrument": "ECLAIRs",
"alert_datetime": "2024-02-22T08:51:55",
"alert_tense": "test",
"alert_type": "initial",
"id": ["sb24022203"],
"trigger_time": "2024-02-22T08:51:31.320000",
"ra": 143.2478,
"dec": -68.0289,
"ra_dec_error": 0.1,
"image_snr": 25.67,
"image_duration": 0.0,
"image_energy_range": [4, 20],
"trigger_type": "rate",
"slew_status": "not_requested"
}
16 changes: 16 additions & 0 deletions gcn/notices/svom/grm/trigger.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/trigger.schema.json",
"instrument": "GRM",
"alert_datetime": "2024-02-22T08:51:55",
"alert_tense": "test",
"alert_type": "initial",
"id": ["sb24022203"],
"trigger_time": "2024-02-22T08:51:31.320000",
"ra": 143.2478,
"dec": -68.0289,
"ra_dec_error": 0.1,
"rate_snr": 25.67,
"rate_duration": 0.0,
"rate_energy_range": [15, 550],
"triggered_GRDs": [true, true, true]
}
35 changes: 35 additions & 0 deletions gcn/notices/svom/trigger.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"$id": "https://gcn.nasa.gov/schema/main/gcn/notices/svom/trigger.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"unevaluatedProperties": false,
"title": "SVOM trigger alerts",
"description": "ECLAIRs or GRM trigger parameters computed onboard",
"allOf": [
{ "$ref": "../core/AdditionalInfo.schema.json" },
{ "$ref": "../core/Alert.schema.json" },
{ "$ref": "../core/DateTime.schema.json" },
{ "$ref": "../core/Event.schema.json" },
{ "$ref": "../core/Localization.schema.json" },
{ "$ref": "../core/Reporter.schema.json" },
{ "$ref": "../core/Statistics.schema.json" },
{ "$ref": "../core/Pointing.schema.json" },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @timroland, could you please tell us where you have used the Pointing Schema in examples? I was going through the examples, and all of them have (ra, dec, ra_dec_error), these parameters together should be used for the Localization schema. Is at any place are you using Pointing Schema?

{ "$ref": "../core/GeoLocBase.schema.json" }
],
"properties": {
"$schema": true,
"slew_status": {
"enum": ["accepted", "rejected", "not_requested"],
"description": "Spacecraft slew status"
},
"triggered_GRDs": {
"type": "array",
"items": {
"type": "boolean"
},
"minItems": 3,
"maxItems": 3,
"description": "In case of a GRM trigger, trigger status the 3 GRDs. Each item correspond to one of the 3 GRDs: true means the GRD triggers, false not"
}
}
}