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 Einstein Probe alerts #80

Closed
martinjohndyer opened this issue May 20, 2024 · 3 comments · Fixed by #84
Closed

Add Einstein Probe alerts #80

martinjohndyer opened this issue May 20, 2024 · 3 comments · Fixed by #84
Labels
-events_other Issues/PRs related to other events

Comments

@martinjohndyer
Copy link
Member

martinjohndyer commented May 20, 2024

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 martinjohndyer added the -events_other Issues/PRs related to other events label May 20, 2024
@martinjohndyer
Copy link
Member Author

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.

@martinjohndyer
Copy link
Member Author

#84 adds EP alerts into the system, at last.

However, one major annoyance is that the alerts don't include a unique ID, so we have to refer to them just using the timestamp. Apparently EP are going to add a Trigger ID (Paul O'Brien, personal communication), but there's no update to the GCN schema yet (see nasa-gcn/gcn-schema#159). Until that comes in and we start receiving the new alerts I'm tempted to hold off deploying anything.

@martinjohndyer
Copy link
Member Author

GCN schema 4.1.0 added in an ID field for EP alerts (nasa-gcn/gcn-schema@1ebc420). It's an array for some reason, but it's better than nothing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-events_other Issues/PRs related to other events
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant