Skip to content

Ultra l1a - energy events (apid 897) - #1865

Merged
laspsandoval merged 7 commits into
IMAP-Science-Operations-Center:devfrom
laspsandoval:ultra_l1a_tof
Jun 30, 2025
Merged

Ultra l1a - energy events (apid 897)#1865
laspsandoval merged 7 commits into
IMAP-Science-Operations-Center:devfrom
laspsandoval:ultra_l1a_tof

Conversation

@laspsandoval

@laspsandoval laspsandoval commented Jun 27, 2025

Copy link
Copy Markdown
Contributor

Change Summary

Overview

This creates the data product for apid 897.

Updated Files

  • imap_ultra_global_cdf_attrs.yaml
    • Update to global attributes
  • external_test_data_config.py
    • Added external test data
  • decom_tools.py
    • Added ability to pass in field ranges for various apids
  • decom_ultra.py
    • Added ability to pass in field ranges for various apids
  • ultra_utils.py
    • Added packet properties and field ranges for energy events
  • ultra_l1a.py
    • Added ultra energy events logic

Testing

conftest.py
test_decom_apid_897.py
test_ultra_l1a.py

@laspsandoval
laspsandoval marked this pull request as draft June 27, 2025 22:22
@laspsandoval laspsandoval changed the title Ultra l1a - energy events Ultra l1a - energy events (apid 897) Jun 27, 2025
@laspsandoval laspsandoval self-assigned this Jun 27, 2025
@laspsandoval laspsandoval added Ins: Ultra Related to the IMAP-Ultra instrument Level: L1 Level 1 processing labels Jun 27, 2025
@laspsandoval laspsandoval added this to the June 2025 milestone Jun 27, 2025
@laspsandoval
laspsandoval marked this pull request as ready for review June 27, 2025 23:18
Comment thread imap_processing/ultra/l0/decom_tools.py Outdated
binary = convert_to_binary_string(event_data)
# 166 bits per event
event_length = 166 if count else 0
length = max(end for _, (_, end) in field_ranges.items())

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
length = max(end for _, (_, end) in field_ranges.items())
length = max(end for (_, end) in field_ranges.values())

Comment thread imap_processing/ultra/l0/decom_ultra.py Outdated
@bourque bourque modified the milestones: June 2025, July 2025 Jun 30, 2025
@laspsandoval
laspsandoval merged commit c137da9 into IMAP-Science-Operations-Center:dev Jun 30, 2025
14 checks passed
@github-project-automation github-project-automation Bot moved this to Done in IMAP Jun 30, 2025
@laspsandoval
laspsandoval deleted the ultra_l1a_tof branch June 30, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ins: Ultra Related to the IMAP-Ultra instrument Level: L1 Level 1 processing

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants