-
Notifications
You must be signed in to change notification settings - Fork 16
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
Process IMAP-Hi Housekeeping data and create CDF file #371
Process IMAP-Hi Housekeeping data and create CDF file #371
Conversation
@@ -33,7 +33,7 @@ bitstring = ">=4.0.1" | |||
cdflib = "==1.2.6" | |||
imap-data-access = ">=0.5.0" | |||
python = ">=3.9,<4" | |||
space_packet_parser = ">=4.1.0" | |||
space_packet_parser = ">=4.2.0rc3" |
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.
TODO: update this to new version
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.
Nice, the for loops are much easier to follow now I think.
epoch_converted_time = [ | ||
calc_start_time(sc_time) for sc_time in metadata_arrays["ccsds_met"] | ||
] |
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.
Not for this PR, but it might be nice if calc_start_time
could handle an array and you could instead call:
epoch_converted_times = calc_start_time(metadata_arrays["ccsds_met"])
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.
I agree. Many of us are doing this. Would be nice to call a common util function for this.
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
Change Summary
Overview