Skip to content

Commit

Permalink
Merge pull request #126 from timroland/main
Browse files Browse the repository at this point in the history
add first notices for svom/eclairs
  • Loading branch information
Vidushi-GitHub authored Jun 20, 2024
2 parents 6364e87 + 9930540 commit 8520adc
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 0 deletions.
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" },
{ "$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"
}
}
}

0 comments on commit 8520adc

Please sign in to comment.