-
Notifications
You must be signed in to change notification settings - Fork 20
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 #199
base: main
Are you sure you want to change the base?
Fermi #199
Conversation
"type": "string", | ||
"description": "Date and time of notice creation [UTC, ISO 8601], ex YYYY-MM-DDTHH:MM:SS.ssssssZ" | ||
}, | ||
"alert_tense": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already present in core schema, you just have to ref the schema.
Same for most of the properties below, rate_snr, trigger_time etc.
We have planned a mission page, where you can keep the content present at readme file. |
Hi @shb46, sorry for the delayed response due to travel and vacation. Most of the stuff looks fine. |
Hi @Vidushi-GitHub, Hope everything is well! Here are my replies:
Those are two independent schemas intended to describe the same notice type:
[Edit:] I should rename the strict schema file so it has a different name. |
Hi Boyan, As it's already in fermi/gbm folder, again fermiGBM is redundant. |
For Fermi mission page, we have information for GCN Classic Notices at https://gcn.nasa.gov/missions/fermi, and would move forward with updating it. |
I am trying to understand why do you wanna create two schemas for same notice types? What is advantage of not referring $ref or kafka schema? Would you produce same notices from two schemas? @lpsinger, @jracusin do you have comments on the same notices from different schemas, alert ($ref to core) and strict (own definitions)? |
@jracusin:
or
|
@Vidushi-GitHub: File renamed. The JPG and MD files removed. |
@jracusin: P.S.: I'm not planning to change the mission page at this time. |
Hi @shb46 , I have a couple additional requests for this update: Can you rename the strict schema and examples as well:
The schema name change reason is the same as the other schema as @Vidushi-GitHub mentioned, as the path already gives the name. As for the examples, the pattern of: Once this is all set, could you then squash your commits down to 1 single commit? I can assist in this if you have questions before doing so. |
Hi, @dakota002, Please check the new file names before squashing. |
The names look good to me! |
@dakota002: Did I squash it enough? |
I don't believe so, I see 52 commits now. You may have pulled the history back into your branch before pushing it out. You should just run the command |
@dakota002: Can't figure it out. I'm going to need your help with this. |
"type": "string", | ||
"description": "Notice title" | ||
}, | ||
"hitl": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you like to rename it as "automatic", rather than providing a short form?
This field can be common in other missions as well and may create different name schemes.
@jracusin this field might be common for other missions, shall we add it in core schema?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Greetings, @Vidushi-GitHub and @jracusin:
To have it in the Core schema makes much more sense to me. (See: #202) In such case, we can simply drop it from this schema (GBM Alert) and survive until you decide on a name and update the Core. Some of our other notices use it regularly, but that is for the future.
So far, Fermi GBM has had it as "HITL" or "Human-in-the-Loop". I prefer to keep it this way. IMHO, "Automatic" inverts what people are used to receive and, secondly, the label is more ambiguous than "HITL". You should probably see if any other missions have an analog.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HITL was used in GCN Classic notices, so I'm okay with keeping it, as long as it's well described. It's not automatic, it is at least partially manual.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this instead be an enum with different types of localizations rather than a confusing boolean? e.g. flight, ground, HITL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jracusin: Then we would be more stright forward to name it "human localization". HITL Is more general. I don't mind dropping it from the Alert. It should be in the Core anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After discussions "HILT" specific to GBM is fine.
Style looks inconsistent to other schema fields, if possible make the property name explicit like, human_in_loop or human_in_the_loop.
@shb46 are you considering to put it as enum?
Let's move this forward to some conclusion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Vidushi-GitHub: I renamed the field and adjusted the description accordingly. I'm keeping it as a boolean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me.
The only issue we need to address is the strict schema being used.
Would you like to create it for validation purposes only, or do you plan to have an additional topic for strict schema for the team's use?
Hi, @Vidushi-GitHub: Regarding your latest comment.
Let's not forget the "hitl" field before approving, in case we decide to drop it.
The producer will validate against both the non-strict and the strict schemas at its end. Kafka can use only the non-strict. It also serves as a source-as-documentation. |
No, we should modify the existing Fermi mission page, and can have sections for GBM & LAT. |
Each schema is for a topic, so you cannot produce multiple schema to the same topic. |
}, | ||
"minItems": 14, | ||
"maxItems": 14, | ||
"description": "Triggered detectors" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please expand it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Vidushi-GitHub: Description improved.
}, | ||
"trigger_algorithm_number": { | ||
"type": "number", | ||
"description": "The criterion number that caused the flight software to trigger. Not to be confused with flight software or any other version number." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make it consistent with the above definition.
…mber with which the units go together."
"on" | ||
], | ||
"event_name": ["GRB240824A"], | ||
"hitl": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make the example field name consistent with schema.
Additionally, validate the schema against examples, in case any change is left out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Vidushi-GitHub: Changed. Thank you for the reminder!
Fermi GBM Schema for a single schema, "ALERT" - Initial Version