Skip to content

ULTRA l1b priority 1,2,3,4#2917

Open
lacoak21 wants to merge 5 commits intoIMAP-Science-Operations-Center:devfrom
lacoak21:ultra_priority_des
Open

ULTRA l1b priority 1,2,3,4#2917
lacoak21 wants to merge 5 commits intoIMAP-Science-Operations-Center:devfrom
lacoak21:ultra_priority_des

Conversation

@lacoak21
Copy link
Copy Markdown
Contributor

@lacoak21 lacoak21 commented Apr 3, 2026

Change Summary

Closes #2912

Overview

Produce Priority 1,2,3, and 4 DE products. Eventually one of them will be used(varies by pointing) to produce the psets.

File changes

  • imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml
    • global attrs for priority l1b de products
  • imap_processing/ultra/l1b/ultra_l1b.py
    • Add handling for producing l1b de priority products. They are handled in the exact same way that raw de products are handled.

Testing

Test for priority product

@lacoak21 lacoak21 added this to the April 2026 milestone Apr 3, 2026
@lacoak21 lacoak21 requested review from Copilot and laspsandoval April 3, 2026 17:16
@lacoak21 lacoak21 self-assigned this Apr 3, 2026
@lacoak21 lacoak21 added this to IMAP Apr 3, 2026
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

Adds support for generating ULTRA L1B “priority” direct-event (DE) products (priority 1–4) alongside existing DE processing, and updates CDF metadata accordingly so these products can be written with correct global attributes.

Changes:

  • Add global CDF attributes for ULTRA L1B priority 1–4 DE logical sources.
  • Update ULTRA L1B processing to detect and convert priority DE L1A inputs into corresponding L1B outputs.
  • Add a unit test to validate creating an L1B priority DE dataset from an L1A priority input.

Reviewed changes

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

File Description
imap_processing/ultra/l1b/ultra_l1b.py Extends DE product detection/conversion logic to include priority DE products.
imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml Defines global attrs for new L1B priority DE logical sources (45/90 sensors, priorities 1–4).
imap_processing/tests/ultra/unit/test_ultra_l1b.py Adds a unit test to ensure a priority L1A DE can be converted to the correct priority L1B DE logical source.
imap_processing/ultra/l1c/ultra_l1c.py Adds a TODO note about selecting which L1B priority DE product should feed L1C generation.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Produce l1b priority 1,2,3, and 4 products

2 participants