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

Fermi-GBM #239

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open

Fermi-GBM #239

wants to merge 27 commits into from

Conversation

shb46
Copy link
Contributor

@shb46 shb46 commented Jan 29, 2025

Single schema for all GBM notices.

@shb46 shb46 self-assigned this Jan 30, 2025
@jracusin
Copy link
Contributor

jracusin commented Feb 5, 2025

Rather that "full" and "minimal" examples, it would be good to have versions for "alert", "flight position", "ground position", "final position" and "sub threshold" all using the same schema, given that's the intended use.

"description": "Triggered detectors"
},
"duration_class": {
"enum": ["SHORT", "LONG", "UNCERTAIN"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't need to be all caps

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same with all the other all caps enums

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like all caps, especially for the "notice_type" enum. Do you mind leaving everything in all caps? Or only the "notice_type"?

},
"localization_algorithm": {
"type": "string",
"description": "Version number"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reference document for these version numbers?

Copy link
Contributor Author

@shb46 shb46 Feb 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I doubt. It is the only production algorithm. I assume we can find very old notices computed with have earlier versions of the loc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no description of the versions. I need to find out if the subthreshold and the targeted use the same algorithm.

},
"duration_class": {
"enum": ["SHORT", "LONG", "UNCERTAIN"],
"description": "Long vs. short duration event"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this defined?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting to receive info about it together with soft/hard definition.

},
"hardness_class": {
"enum": ["SOFT", "HARD"],
"description": "Classification based on the hardness ratio."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add reference in the description?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Vidushi-GitHub: I am inquiring for a more precise definition, if this is what you mean by reference.

},
"high_energy_high_intensity": {
"enum": [false, true, "UNCERTAIN"],
"description": "High energy, high intensity event"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for bright, extraordinary events?
Can you add threshold intensity criteria in the description?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Vidushi-GitHub : Not extraordinarily bright, just enough emission in the high energy range. Something like, more than ? counts with E>? from BGOs. So not your typical GRB. I'm trying to find out the exact numbers as above.

shb46 and others added 6 commits February 6, 2025 09:06
Your language is more precise but I don't want to leave room for ambiguity.  I'm going to make another change to a middle ground.

Co-authored-by: Vidushi Sharma <[email protected]>
Thanks for catching the typos!

Co-authored-by: Vidushi Sharma <[email protected]>
@shb46
Copy link
Contributor Author

shb46 commented Feb 6, 2025

@jracusin, @Vidushi-GitHub, @lpsinger, @dakota002: Shall we defer merging this PR until after PR #240 is merged? The "notice_type" field then will be part of the core. Now it is Fermi-specific.

@jracusin
Copy link
Contributor

Rather that "full" and "minimal" examples, it would be good to have versions for "alert", "flight position", "ground position", "final position" and "sub threshold" all using the same schema, given that's the intended use.

It would be reasonable for sub threshold to be a separate Kafka topic, if you'd prefer that, but keep the rest of the sequence in the same topic.

@Vidushi-GitHub
Copy link
Member

@shb46
Just following-up, are you relying on us for any review?

@shb46
Copy link
Contributor Author

shb46 commented Feb 21, 2025

@Vidushi-GitHub: Thanks for keeping my PR in mind.

(cc: @jracusin, @lpsinger, @dakota002)

I am waiting to get quantitative info on the three fields, so I can offer better descriptions. I think, we've cleaned everything else. Until then I will not have anything new for review. Please let me know if you think of more comments in the meanwhile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants