-
Notifications
You must be signed in to change notification settings - Fork 5
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
SWIFT UVOT + General SWIFT Notices Binary Conversions #58
base: main
Are you sure you want to change the base?
Conversation
Explicit int conversion removed MAXI_UNKNOWN conversion Removed GECAM_FLT and GECAM_GND conversion Added documentation and changed function name reformatted file deleted files
92efa8c
to
ff4afa4
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #58 +/- ##
==========================================
+ Coverage 75.94% 84.66% +8.71%
==========================================
Files 10 21 +11
Lines 158 300 +142
==========================================
+ Hits 120 254 +134
- Misses 38 46 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Added instrument modes SWIFT UVOT binary conversion small changes more small changes
ff4afa4
to
8659795
Compare
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.
Just a couple typos in notice keys
"fits_file_url": f"http://gcn.gsfc.nasa.gov/gcn/notices_s/{utils.binary_to_string(bin[22:39])}", | ||
"pixel_binning": pixel_binning_values[pixel_binning[0]], | ||
"bright_star_nearby": bool(misc_bits[13]), | ||
"originally_subtresh": bool(misc_bits[20]), |
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.
typo: "subtresh" again
This PR includes the general SWIFT notices sent by all the instruments as well as all the notices sent by SWIFT UVOT. While skimming through the packet socket documentation, I noticed that SWIFT_UVOT_NACK_POS was a notice that continues to be produced but was not present in the repo. Added the following keywords not present in the core-schema:
SWIFT_ACTUAL_POINTDIR
SWIFT_POINTDIR
SWIFT_FOM_OBS, SWIFT_TOO_FOM
SWIFT_SC_SLEW, SWIFT_TOO_SC_SLEW
SWIFT_UVOT_DBURST, SWIFT_UVOT_DBURST_PROC
SWIFT_UVOT_FCHART, SWIFT_UVOT_FCHART_PROC
SWIFT_UVOT_POS