Skip to content

ULTRA l1a event_id update#3014

Merged
lacoak21 merged 9 commits into
IMAP-Science-Operations-Center:devfrom
lacoak21:ultra_l1a_event_id_update
May 4, 2026
Merged

ULTRA l1a event_id update#3014
lacoak21 merged 9 commits into
IMAP-Science-Operations-Center:devfrom
lacoak21:ultra_l1a_event_id_update

Conversation

@lacoak21
Copy link
Copy Markdown
Contributor

Change Summary

closes #2823

Overview

Update the event id to contain the met AND the all the data for each event in a 50 character hex string

File changes

imap_processing/ultra/l0/decom_ultra.py

  • Update event_id function

Testing

Tests for new event_id function

There will be a validation test in a future PR

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates ULTRA processing to generate a new per-event event_id and wires it into event packet expansion, with accompanying unit tests. The PR also includes an unrelated change to ULTRA L2 rectangular map projection configuration.

Changes:

  • Reworked ULTRA L0 get_event_id to produce per-event 50-character hex string IDs and integrated it into process_ultra_events.
  • Updated/added unit tests for the new get_event_id behavior and its error path.
  • Changed ULTRA L2 rectangular map projection to only project ena_intensity.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
imap_processing/ultra/l0/decom_ultra.py Implements new string-based event_id generation and attaches IDs during event expansion.
imap_processing/ultra/l2/ultra_l2.py Adjusts which variables are projected when producing RECTANGULAR L2 maps.
imap_processing/ultra/l1a/ultra_l1a.py Adds commented-out raw packet note (currently unused).
imap_processing/tests/ultra/unit/test_ultra_l1a.py Updates tests for the revised get_event_id function signature/output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread imap_processing/ultra/l1a/ultra_l1a.py Outdated
Comment thread imap_processing/tests/ultra/unit/test_ultra_l1a.py Outdated
Comment thread imap_processing/ultra/l0/decom_ultra.py
Comment thread imap_processing/ultra/l0/decom_ultra.py
Comment thread imap_processing/ultra/l0/decom_ultra.py Outdated
Comment thread imap_processing/ultra/l0/decom_ultra.py
Comment thread imap_processing/ultra/l2/ultra_l2.py Outdated
@lacoak21 lacoak21 requested a review from laspsandoval April 28, 2026 16:19
Copy link
Copy Markdown
Contributor

@laspsandoval laspsandoval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of things to check. Nice work!

Comment thread imap_processing/ultra/l0/decom_ultra.py
Comment thread imap_processing/ultra/l0/decom_ultra.py
@lacoak21 lacoak21 force-pushed the ultra_l1a_event_id_update branch from 86ddb5f to 9840133 Compare May 4, 2026 15:23
@lacoak21 lacoak21 merged commit ebbcb95 into IMAP-Science-Operations-Center:dev May 4, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this to Done in IMAP May 4, 2026
@lacoak21 lacoak21 deleted the ultra_l1a_event_id_update branch May 4, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ULTRA event ID update

3 participants