GOTO-OBS / gtecs-alert

GOTO Telescope Control System: code for VOEvent alert processing
3 stars 2 forks source link

Add Einstein Probe alerts #80

Open martinjohndyer opened 1 month ago

martinjohndyer commented 1 month ago

https://gcn.nasa.gov/missions/einstein-probe

Note that page suggests they are only being published as JSON over Kafka.

SEE: https://einsteinprobe.feishu.cn/docx/EQOkdbjssoh8BsxqMZ5cQ8DPnvh

https://gcn.nasa.gov/docs/schema/v4.0.0/gcn/notices/einstein_probe/wxt/alert.schema.json

martinjohndyer commented 4 weeks ago

This is more annoying than I thought. It seems new GCN projects will only be publishing EP notices using the new JSON schema (https://gcn.nasa.gov/docs/notices/schema) with an example shown here: https://gcn.nasa.gov/docs/schema/v4.0.0/gcn/notices/einstein_probe/wxt/alert.schema.json. These will come via the gcn.notices stream. Previously the gcn.classic stream was publishing "classic" alerts as XML VOEvents, and when I looked at moving to SCiMMA HOPSKOTCH (https://scimma.org/hopskotch) they repackage these as JSON. But that's different from the new "Unified GCN" schema, which currently SCiMMA doesn't publish (I've sent them a ticket).

I do really like the Hop client (https://github.com/scimma/hop-client) over the "official" GCN client (https://github.com/nasa-gcn/gcn-kafka-python), and I've been working to convert the sentinel over (ISSUE NEEDED). But until they add the newer GCN alerts then I'll have to hold off.