-
Notifications
You must be signed in to change notification settings - Fork 3
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
AMON Text conversion #15
base: main
Are you sure you want to change the base?
Conversation
removed utils.py small fix updated trigger_date parsing and calet jsons creation editted conversion.py to deal with inputs that have no 'additional' dictionary Fixed ra/dec parsing to be seperate Updated alexis conversion updated poetry updated all modules for search_string Added \n to additional_info in snews and sk_sn added all current conversions to main.py updated id changed url to lightcurve_url; added field Added field to all conversions
fixed ra_dec_error and ra_dec_error_50 removed comments
- `far` → FAR | ||
|
||
### Defines the following new fields for the text notice fields | ||
- `notice_type` → NOTICE_TYPE |
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.
NOTICE_TYPE
is quiet common in GCN classic, it makes sense to add in core schema itself.
- `coincidence_with` → COINC_PAIR | ||
|
||
## Caveats | ||
- The notices have a field called STREAM, but these seems to be degenrate with NOTICE_TYPE and so I've not added these to the JSONs |
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.
- The notices have a field called STREAM, but these seems to be degenrate with NOTICE_TYPE and so I've not added these to the JSONs | |
- The notices have a field called STREAM, but these seems to be degenerate with NOTICE_TYPE and so I've not added these to the JSONs |
|
||
## Caveats | ||
- The notices have a field called STREAM, but these seems to be degenrate with NOTICE_TYPE and so I've not added these to the JSONs | ||
- SKYMAP_FITS_URL is a field for the Burst notice but these are not available for any of the notices. Hence, I've not included them in the JSONs |
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.
|
||
return output | ||
|
||
|
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.
You can try: Python's standard library xml / html parser modules
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 you please send example of notices conversion generated from this code?
Previous Notice Vs new JSON
AMON has multiple notices in multiple webpages which this conversion handles. I've added the following keywords not in the core schema.