I-ALiRT - added utc to packet query#27
Merged
laspsandoval merged 6 commits intoIMAP-Science-Operations-Center:mainfrom Mar 4, 2026
Merged
I-ALiRT - added utc to packet query#27laspsandoval merged 6 commits intoIMAP-Science-Operations-Center:mainfrom
laspsandoval merged 6 commits intoIMAP-Science-Operations-Center:mainfrom
Conversation
|
Wow those links to the code in the description are great |
lacoak21
approved these changes
Mar 4, 2026
Contributor
Author
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
Contributor
Author
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
eaa9edb
into
IMAP-Science-Operations-Center:main
13 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.
This pull request introduces support for two mutually exclusive query modes to the packet query functionality: traditional individual date/time parameters and a new ISO 8601 UTC time range mode. The CLI, core logic, and documentation are updated to reflect these enhancements, and new tests are added to validate the UTC range mode.
Packet query mode enhancements:
time_utc_startand optionaltime_utc_end) in addition to the existing individual date/time parameters inialirt_data_access/cli.pyandialirt_data_access/io.py. [1] [2]yearanddoyoptional, and introducedtime_utc_startandtime_utc_endas new arguments for the UTC range mode. [1] [2]Documentation updates:
README.mdto describe both query modes, including usage examples for each.ialirt_data_access/io.pyto clarify parameter requirements and behavior for both modes.Testing improvements:
tests/test_io.pyto verify correct behavior for UTC range queries, including cases with onlytime_utc_startand with both start and end times.