I-ALiRT - Add SC Status#2922
Merged
laspsandoval merged 1 commit intoApr 8, 2026
Merged
Conversation
lacoak21
approved these changes
Apr 8, 2026
| logger = logging.getLogger(__name__) | ||
|
|
||
|
|
||
| def process_status(xarray_data: xr.Dataset) -> list[dict]: |
Contributor
There was a problem hiding this comment.
Where is this going to be called?
Contributor
Author
There was a problem hiding this comment.
It will be called in sds-data-manager (other PR: IMAP-Science-Operations-Center/sds-data-manager#1218)
8f74867
into
IMAP-Science-Operations-Center:dev
14 checks passed
sapols
pushed a commit
to sapols/imap_processing
that referenced
this pull request
Apr 15, 2026
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 the new
process_statusfunction for generating L1 status data products from IALIRT L0 packet data, along with corresponding unit tests and updates to external test data configuration. The most significant changes are the addition of the core status processing logic, comprehensive tests for this functionality, and the inclusion of new test data files to support validation.Status Processing Functionality:
process_statusfunction inimap_processing/ialirt/l0/process_status.pythat processes parsed L0 xarray datasets into a list of status dictionaries, handling time conversion, extracting instrument status fields, and formatting output for downstream use.Testing Enhancements:
imap_processing/tests/ialirt/unit/test_process_status.pythat verifies the correctness of theprocess_statusfunction using multiple postlaunch packet files and asserts expected status values for each instrument.Test Data Configuration:
imap_processing/tests/external_test_data_config.pyto enable thorough testing of the status processing logic.