From 5decc7a7a6a963a0b42d4a9738e999039cdeb8fc Mon Sep 17 00:00:00 2001 From: Vidushi-GitHub Date: Tue, 5 Mar 2024 12:35:08 -0500 Subject: [PATCH 1/6] snake_case and ra_dec_error --- gcn/notices/burstcube/Alert.example.json | 6 ++-- gcn/notices/burstcube/Alert.schema.json | 2 +- gcn/notices/burstcube/Test.example.json | 6 ++-- gcn/notices/burstcube/Test.schema.json | 2 +- gcn/notices/burstcube/alert.example.json | 29 +++++++++++++++++ gcn/notices/burstcube/alert.schema.json | 41 ++++++++++++++++++++++++ gcn/notices/burstcube/test.example.json | 29 +++++++++++++++++ gcn/notices/burstcube/test.schema.json | 41 ++++++++++++++++++++++++ 8 files changed, 146 insertions(+), 10 deletions(-) create mode 100644 gcn/notices/burstcube/alert.example.json create mode 100644 gcn/notices/burstcube/alert.schema.json create mode 100644 gcn/notices/burstcube/test.example.json create mode 100644 gcn/notices/burstcube/test.schema.json diff --git a/gcn/notices/burstcube/Alert.example.json b/gcn/notices/burstcube/Alert.example.json index 4f8427ff..205207cc 100644 --- a/gcn/notices/burstcube/Alert.example.json +++ b/gcn/notices/burstcube/Alert.example.json @@ -1,5 +1,5 @@ { - "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/Alert.schema.json", + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/alert.schema.json", "alert_datetime": "2024-06-01T00:05:00.00Z", "alert_tense": "current", "alert_type": "initial", @@ -9,9 +9,7 @@ "id": ["240601000"], "ra": 232.0, "dec": -53.1, - "uncertainty_shape": "circle", - "ra_uncertainty": [10], - "dec_uncertainty": [10], + "ra_dec_error": [10], "containment_probability": 0.9, "systematic_included": false, "healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/240601000/current/240601000_locmap.fits", diff --git a/gcn/notices/burstcube/Alert.schema.json b/gcn/notices/burstcube/Alert.schema.json index 6b1fe8ba..cc88f6b9 100644 --- a/gcn/notices/burstcube/Alert.schema.json +++ b/gcn/notices/burstcube/Alert.schema.json @@ -1,5 +1,5 @@ { - "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/Alert.schema.json", + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/alert.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Alert", "description": "BurstCube Trigger Alert", diff --git a/gcn/notices/burstcube/Test.example.json b/gcn/notices/burstcube/Test.example.json index 48b9b4d5..6f80e48f 100644 --- a/gcn/notices/burstcube/Test.example.json +++ b/gcn/notices/burstcube/Test.example.json @@ -1,5 +1,5 @@ { - "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/Test.schema.json", + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/test.schema.json", "alert_datetime": "2024-06-01T00:05:00.00Z", "alert_tense": "current", "alert_type": "initial", @@ -9,9 +9,7 @@ "id": ["240601000"], "ra": 232.0, "dec": -53.1, - "uncertainty_shape": "circle", - "ra_uncertainty": [10], - "dec_uncertainty": [10], + "ra_dec_error": 10, "containment_probability": 0.9, "systematic_included": false, "healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/240601000/current/240601000_locmap.fits", diff --git a/gcn/notices/burstcube/Test.schema.json b/gcn/notices/burstcube/Test.schema.json index 079474bf..1c401461 100644 --- a/gcn/notices/burstcube/Test.schema.json +++ b/gcn/notices/burstcube/Test.schema.json @@ -1,5 +1,5 @@ { - "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/Test.schema.json", + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/test.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Alert", "description": "BurstCube Trigger Alert", diff --git a/gcn/notices/burstcube/alert.example.json b/gcn/notices/burstcube/alert.example.json new file mode 100644 index 00000000..205207cc --- /dev/null +++ b/gcn/notices/burstcube/alert.example.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/alert.schema.json", + "alert_datetime": "2024-06-01T00:05:00.00Z", + "alert_tense": "current", + "alert_type": "initial", + "mission": "BurstCube", + "record_number": 1, + "trigger_time": "2024-06-01T00:00:00.0Z", + "id": ["240601000"], + "ra": 232.0, + "dec": -53.1, + "ra_dec_error": [10], + "containment_probability": 0.9, + "systematic_included": false, + "healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/240601000/current/240601000_locmap.fits", + "healpix_file": "stuff", + "rate_snr": 7.2, + "rate_duration": 1.024, + "rate_energy_range": [50, 300], + "classification": { "GRB": 0.95, "SF": 0.03, "Local Particles": 0.02 }, + "t90": 2.3, + "t90_error": [0.1], + "detector_status": { + "CsI0": "triggered", + "CsI1": "triggered", + "CsI2": "on", + "CsI3": "on" + } +} diff --git a/gcn/notices/burstcube/alert.schema.json b/gcn/notices/burstcube/alert.schema.json new file mode 100644 index 00000000..cc88f6b9 --- /dev/null +++ b/gcn/notices/burstcube/alert.schema.json @@ -0,0 +1,41 @@ +{ + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/alert.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Alert", + "description": "BurstCube Trigger Alert", + "type": "object", + "allOf": [ + { + "$ref": "../core/Alert.schema.json" + }, + { + "$ref": "../core/Reporter.schema.json" + }, + { + "$ref": "../core/DateTime.schema.json" + }, + { + "$ref": "../core/Event.schema.json" + }, + { + "$ref": "../core/Localization.schema.json" + }, + { + "$ref": "../core/Statistics.schema.json" + }, + { + "$ref": "../core/Duration.schema.json" + } + ], + "properties": { + "detector_status": { + "type": "object", + "properties": { + "CsI0": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI1": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI2": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI3": { "$ref": "../core/DetectorStatus.schema.json" } + } + } + } +} diff --git a/gcn/notices/burstcube/test.example.json b/gcn/notices/burstcube/test.example.json new file mode 100644 index 00000000..6f80e48f --- /dev/null +++ b/gcn/notices/burstcube/test.example.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/test.schema.json", + "alert_datetime": "2024-06-01T00:05:00.00Z", + "alert_tense": "current", + "alert_type": "initial", + "mission": "BurstCube", + "record_number": 1, + "trigger_time": "2024-06-01T00:00:00.0Z", + "id": ["240601000"], + "ra": 232.0, + "dec": -53.1, + "ra_dec_error": 10, + "containment_probability": 0.9, + "systematic_included": false, + "healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/240601000/current/240601000_locmap.fits", + "healpix_file": "stuff", + "rate_snr": 7.2, + "rate_duration": 1.024, + "rate_energy_range": [50, 300], + "classification": { "GRB": 0.95, "SF": 0.03, "Local Particles": 0.02 }, + "t90": 2.3, + "t90_error": [0.1], + "detector_status": { + "CsI0": "triggered", + "CsI1": "triggered", + "CsI2": "on", + "CsI3": "on" + } +} diff --git a/gcn/notices/burstcube/test.schema.json b/gcn/notices/burstcube/test.schema.json new file mode 100644 index 00000000..1c401461 --- /dev/null +++ b/gcn/notices/burstcube/test.schema.json @@ -0,0 +1,41 @@ +{ + "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/test.schema.json", + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Alert", + "description": "BurstCube Trigger Alert", + "type": "object", + "allOf": [ + { + "$ref": "../core/Alert.schema.json" + }, + { + "$ref": "../core/Reporter.schema.json" + }, + { + "$ref": "../core/DateTime.schema.json" + }, + { + "$ref": "../core/Event.schema.json" + }, + { + "$ref": "../core/Localization.schema.json" + }, + { + "$ref": "../core/Statistics.schema.json" + }, + { + "$ref": "../core/Duration.schema.json" + } + ], + "properties": { + "detector_status": { + "type": "object", + "properties": { + "CsI0": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI1": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI2": { "$ref": "../core/DetectorStatus.schema.json" }, + "CsI3": { "$ref": "../core/DetectorStatus.schema.json" } + } + } + } +} From c62905869fd1fb8319120453e53a6da959a9d4af Mon Sep 17 00:00:00 2001 From: Vidushi-GitHub Date: Tue, 5 Mar 2024 12:45:02 -0500 Subject: [PATCH 2/6] feedback --- gcn/notices/burstcube/Alert.example.json | 2 +- gcn/notices/burstcube/alert.example.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcn/notices/burstcube/Alert.example.json b/gcn/notices/burstcube/Alert.example.json index 205207cc..7d736d1a 100644 --- a/gcn/notices/burstcube/Alert.example.json +++ b/gcn/notices/burstcube/Alert.example.json @@ -9,7 +9,7 @@ "id": ["240601000"], "ra": 232.0, "dec": -53.1, - "ra_dec_error": [10], + "ra_dec_error": 10, "containment_probability": 0.9, "systematic_included": false, "healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/240601000/current/240601000_locmap.fits", diff --git a/gcn/notices/burstcube/alert.example.json b/gcn/notices/burstcube/alert.example.json index 205207cc..7d736d1a 100644 --- a/gcn/notices/burstcube/alert.example.json +++ b/gcn/notices/burstcube/alert.example.json @@ -9,7 +9,7 @@ "id": ["240601000"], "ra": 232.0, "dec": -53.1, - "ra_dec_error": [10], + "ra_dec_error": 10, "containment_probability": 0.9, "systematic_included": false, "healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/240601000/current/240601000_locmap.fits", From db47f1fb4522777188c9a00ef3ad18ce5d288745 Mon Sep 17 00:00:00 2001 From: Vidushi Sharma <103223246+Vidushi-GitHub@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:49:23 -0500 Subject: [PATCH 3/6] Delete gcn/notices/burstcube/Alert.example.json Duplicated with alert, due to case-insensitive issue in git --- gcn/notices/burstcube/Alert.example.json | 29 ------------------------ 1 file changed, 29 deletions(-) delete mode 100644 gcn/notices/burstcube/Alert.example.json diff --git a/gcn/notices/burstcube/Alert.example.json b/gcn/notices/burstcube/Alert.example.json deleted file mode 100644 index 7d736d1a..00000000 --- a/gcn/notices/burstcube/Alert.example.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/alert.schema.json", - "alert_datetime": "2024-06-01T00:05:00.00Z", - "alert_tense": "current", - "alert_type": "initial", - "mission": "BurstCube", - "record_number": 1, - "trigger_time": "2024-06-01T00:00:00.0Z", - "id": ["240601000"], - "ra": 232.0, - "dec": -53.1, - "ra_dec_error": 10, - "containment_probability": 0.9, - "systematic_included": false, - "healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/240601000/current/240601000_locmap.fits", - "healpix_file": "stuff", - "rate_snr": 7.2, - "rate_duration": 1.024, - "rate_energy_range": [50, 300], - "classification": { "GRB": 0.95, "SF": 0.03, "Local Particles": 0.02 }, - "t90": 2.3, - "t90_error": [0.1], - "detector_status": { - "CsI0": "triggered", - "CsI1": "triggered", - "CsI2": "on", - "CsI3": "on" - } -} From 5d2b4f3fd725d6ad6b6151bc63902a2a95f069a0 Mon Sep 17 00:00:00 2001 From: Vidushi Sharma <103223246+Vidushi-GitHub@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:50:14 -0500 Subject: [PATCH 4/6] Delete gcn/notices/burstcube/Alert.schema.json Got duplicated, due to case-insensitive issue in git! --- gcn/notices/burstcube/Alert.schema.json | 41 ------------------------- 1 file changed, 41 deletions(-) delete mode 100644 gcn/notices/burstcube/Alert.schema.json diff --git a/gcn/notices/burstcube/Alert.schema.json b/gcn/notices/burstcube/Alert.schema.json deleted file mode 100644 index cc88f6b9..00000000 --- a/gcn/notices/burstcube/Alert.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/alert.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "Alert", - "description": "BurstCube Trigger Alert", - "type": "object", - "allOf": [ - { - "$ref": "../core/Alert.schema.json" - }, - { - "$ref": "../core/Reporter.schema.json" - }, - { - "$ref": "../core/DateTime.schema.json" - }, - { - "$ref": "../core/Event.schema.json" - }, - { - "$ref": "../core/Localization.schema.json" - }, - { - "$ref": "../core/Statistics.schema.json" - }, - { - "$ref": "../core/Duration.schema.json" - } - ], - "properties": { - "detector_status": { - "type": "object", - "properties": { - "CsI0": { "$ref": "../core/DetectorStatus.schema.json" }, - "CsI1": { "$ref": "../core/DetectorStatus.schema.json" }, - "CsI2": { "$ref": "../core/DetectorStatus.schema.json" }, - "CsI3": { "$ref": "../core/DetectorStatus.schema.json" } - } - } - } -} From 46e5ef967044c3832d87d57bbb4223c19fa92264 Mon Sep 17 00:00:00 2001 From: Vidushi Sharma <103223246+Vidushi-GitHub@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:50:29 -0500 Subject: [PATCH 5/6] Delete gcn/notices/burstcube/Test.example.json Got duplicated, due to case-insensitive issue in git! --- gcn/notices/burstcube/Test.example.json | 29 ------------------------- 1 file changed, 29 deletions(-) delete mode 100644 gcn/notices/burstcube/Test.example.json diff --git a/gcn/notices/burstcube/Test.example.json b/gcn/notices/burstcube/Test.example.json deleted file mode 100644 index 6f80e48f..00000000 --- a/gcn/notices/burstcube/Test.example.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$schema": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/test.schema.json", - "alert_datetime": "2024-06-01T00:05:00.00Z", - "alert_tense": "current", - "alert_type": "initial", - "mission": "BurstCube", - "record_number": 1, - "trigger_time": "2024-06-01T00:00:00.0Z", - "id": ["240601000"], - "ra": 232.0, - "dec": -53.1, - "ra_dec_error": 10, - "containment_probability": 0.9, - "systematic_included": false, - "healpix_url": "https://heasarc.gsfc.nasa.gov/burstcube/trigger/240601000/current/240601000_locmap.fits", - "healpix_file": "stuff", - "rate_snr": 7.2, - "rate_duration": 1.024, - "rate_energy_range": [50, 300], - "classification": { "GRB": 0.95, "SF": 0.03, "Local Particles": 0.02 }, - "t90": 2.3, - "t90_error": [0.1], - "detector_status": { - "CsI0": "triggered", - "CsI1": "triggered", - "CsI2": "on", - "CsI3": "on" - } -} From 6abdb6e146753e1014ed4457d4660fe8e688a4e9 Mon Sep 17 00:00:00 2001 From: Vidushi Sharma <103223246+Vidushi-GitHub@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:50:47 -0500 Subject: [PATCH 6/6] Delete gcn/notices/burstcube/Test.schema.json Got duplicated, due to case-insensitive issue in git! --- gcn/notices/burstcube/Test.schema.json | 41 -------------------------- 1 file changed, 41 deletions(-) delete mode 100644 gcn/notices/burstcube/Test.schema.json diff --git a/gcn/notices/burstcube/Test.schema.json b/gcn/notices/burstcube/Test.schema.json deleted file mode 100644 index 1c401461..00000000 --- a/gcn/notices/burstcube/Test.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$id": "https://gcn.nasa.gov/schema/main/gcn/notices/burstcube/test.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "Alert", - "description": "BurstCube Trigger Alert", - "type": "object", - "allOf": [ - { - "$ref": "../core/Alert.schema.json" - }, - { - "$ref": "../core/Reporter.schema.json" - }, - { - "$ref": "../core/DateTime.schema.json" - }, - { - "$ref": "../core/Event.schema.json" - }, - { - "$ref": "../core/Localization.schema.json" - }, - { - "$ref": "../core/Statistics.schema.json" - }, - { - "$ref": "../core/Duration.schema.json" - } - ], - "properties": { - "detector_status": { - "type": "object", - "properties": { - "CsI0": { "$ref": "../core/DetectorStatus.schema.json" }, - "CsI1": { "$ref": "../core/DetectorStatus.schema.json" }, - "CsI2": { "$ref": "../core/DetectorStatus.schema.json" }, - "CsI3": { "$ref": "../core/DetectorStatus.schema.json" } - } - } - } -}