I-ALiRT - query modification based on MAG HK data - #923
Merged
laspsandoval merged 3 commits intoOct 9, 2025
Conversation
lacoak21
approved these changes
Oct 9, 2025
lacoak21
left a comment
Contributor
There was a problem hiding this comment.
Looks good! Maybe add a test?
laspsandoval
force-pushed
the
db_bug_fix
branch
from
October 9, 2025 17:25
a91d06d to
061d86c
Compare
laspsandoval
merged commit Oct 9, 2025
27f773d
into
IMAP-Science-Operations-Center:dev
2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Summary
Overview
MAG added HK data to the database that needs to be formatted in order to return the json result.
Updated Files
Example of MAG HK structure:
mag_hk_status
{ "pri_isvalid" : { "BOOL" : true }, "hkn8v5" : { "N" : "3680" }, "icu_temp" : { "N" : "2336" }, "hk3v3_current" : { "N" : "1784" }, "fib_temp" : { "N" : "2464" }, "hk1v8c_danger" : { "BOOL" : false }, "fob_saturated" : { "BOOL" : false }, "fib_saturated" : { "BOOL" : false }, "hk1v5_danger" : { "BOOL" : false }, "hk1v8_danger" : { "BOOL" : false }, "hk1v8c_warn" : { "BOOL" : false }, "mode" : { "N" : "6" }, "hk2v5c_danger" : { "BOOL" : false }, "hkp8v5_warn" : { "BOOL" : false }, "hk2v5_danger" : { "BOOL" : false }, "hkp8v5_danger" : { "BOOL" : false }, "hkp8v5c_danger" : { "BOOL" : false }, "hkp8v5c_warn" : { "BOOL" : false }, "hk1v5c_warn" : { "BOOL" : false }, "hk3v3" : { "N" : "2880" }, "fob_temp" : { "N" : "2512" }, "fob_range" : { "N" : "2" }, "fib_range" : { "N" : "2" }, "sec_isvalid" : { "BOOL" : true }, "hk1v5_warn" : { "BOOL" : false }, "hk1v5c_danger" : { "BOOL" : false }, "multbit_errs" : { "BOOL" : false }, "hk2v5_warn" : { "BOOL" : false }, "hkn8v5_current" : { "N" : "1368" }, "hk1v8_warn" : { "BOOL" : false }, "hk2v5c_warn" : { "BOOL" : false } }