Closed timroland closed 5 months ago
@timroland, something weird happened with this PR; you seem to have altered almost every file in the repository.
He ran the steps for releasing a new version. We should probably clarify in the readme that this is not required for making PRs
@dakota002, would you please help @timroland fix this?
Ok that's done I deleted the commits that were problematic. Tell me if it is ok
I had a question about the topics that will be created with the new schema I defined. Will it be the same than the naming of the example files (i.e. begins with "gcn.notices.svom.alert." where is the notice type) ?
I had a question about the topics that will be created with the new schema I defined. Will it be the same than the naming of the example files (i.e. begins with "gcn.notices.svom.alert." where is the notice type) ?
No, it doesn't have to be exactly the same. You could create the Kafka topic gcn.notices.svom
, or you could create multiple topics, one for each instrument: gcn.notices.svom.eclairs
, gcn.notices.svom.grm
. I would suggest not calling it .alert
since that by itself doesn't add any information; all Kafka topics are for alerts of some kind.
@jracusin, @Vidushi-GitHub, would one of you please review this?
@timroland As a gentle reminder, please make the following changes:
Thanks
Hi, sorry for the late reply... I updated the schema. I remove the notice_level parameter as it is in fact just an alias of the schema in the SVOM nomenclature (N1 are "trigger" notices and the letter stands for the instrument, it will appear in the documentation). I had a question concerning the "Pointing" schema as it has "ra" and "dec" parameters. How to distinguish from "ra" and "dec" paramaters from the Localization schema ?
Hi, sorry for the late reply... I updated the schema. I remove the notice_level parameter as it is in fact just an alias of the schema in the SVOM nomenclature (N1 are "trigger" notices and the letter stands for the instrument, it will appear in the documentation). I had a question concerning the "Pointing" schema as it has "ra" and "dec" parameters. How to distinguish from "ra" and "dec" paramaters from the Localization schema ?
Hi, no worries. Thanks for the corrections.
Nice catch. While it may not be an issue for the archive in future, but consumers can easily get confused with localization (ra, dec), will come up with a better solution.
Hi Tim (@timroland), thanks for the suggestion, we have recently updated the pointing schema to avoid the confusion of the same (ra, dec) pairs in localization as well. Please update the schema accordingly for renamed properties: (ra_pointing, dec_pointing), in the updated pointing schema.
It seems this branch is complete and quite old. I double-checked it, and it validates.
SVOM has pointing core schema, but it is not in use in schema example, thus no conflict with renamed (ra, dec).
As per conversation with @jracusin, I am merging this PR.
Here are the first 2 notices example of the SVOM/ECLAIRs alerts, with the associated "alert" schema.