Skip to content

GLOWS L3e: Support repointing field for ancillary files - #196

Open
leowerneck wants to merge 2 commits into
IMAP-Science-Operations-Center:mainfrom
leowerneck:3386-glows---handle-repoint-number-in-filenames
Open

leowerneck wants to merge 2 commits into
IMAP-Science-Operations-Center:mainfrom
leowerneck:3386-glows---handle-repoint-number-in-filenames

Conversation

@leowerneck

@leowerneck leowerneck commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Closes #126 (see related imap_processing:#3386 issue).

Summary

This PR adds repointing field to ancillary files, so that e.g.:

imap_glows_survival-probability-hi-45-raw_20241007-repoint00020_v012.dat

is now a valid ancillary file name.

This relies on the new repointing argument added to AncillaryFilePath.generate_from_inputs in imap-data-access (link TBD).

Changes

  • imap_l3_processing/glows/glows_processor.py: added repointing=repointing to the AncillaryFilePath.generate_from_inputs(...) call in all four L3e paths (process_l3e_lo, process_l3e_ul_sf, process_l3e_ul_hf, process_l3e_hi). Each function already received repointing: int; this just forwards it.
  • tests/glows/test_glows_processor.py: updated the four expected L3e filenames to include -repoint00020 (the tests already run with repointing = 20).

Coordinated rollout

One of three coordinated PRs for imap_processing:#3386. This PR should be merged third (3/3):

  1. imap-data-access:#353
  2. sds-data-manager:#1637
  3. imap_L3_processing:#196

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The pinned dependency lacks the new API, and integration-test filename expectations remain outdated.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds repointing identifiers to GLOWS L3e ancillary filenames to prevent same-day upload collisions.

Changes:

  • Forwards repointing numbers when generating four L3e ancillary paths.
  • Updates unit-test filename expectations.
File summaries
File Description
imap_l3_processing/glows/glows_processor.py Adds repointing to generated ancillary filenames.
tests/glows/test_glows_processor.py Updates expected L3e ancillary paths.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread imap_l3_processing/glows/glows_processor.py
Comment thread tests/glows/test_glows_processor.py
@leowerneck
leowerneck force-pushed the 3386-glows---handle-repoint-number-in-filenames branch from 03ddf01 to 83c51de Compare September 14, 2026 19:47
@leowerneck
leowerneck requested a review from jtniehof September 14, 2026 19:49
@leowerneck leowerneck self-assigned this Sep 14, 2026
@leowerneck leowerneck added bug Something isn't working Ins: GLOWS Related to the GLOWS instrument Data Release 2 Deadline: September 1, 2026 labels Sep 14, 2026
@leowerneck leowerneck added this to IMAP Sep 14, 2026
@leowerneck leowerneck moved this to PR Open in IMAP Sep 14, 2026
@leowerneck
leowerneck requested a balanced review from Copilot September 14, 2026 19:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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

Labels

bug Something isn't working Data Release 2 Deadline: September 1, 2026 Ins: GLOWS Related to the GLOWS instrument

Projects

Status: PR Open

Development

Successfully merging this pull request may close these issues.

BUG - Failure to upload raw GLOWS L3e dat files for days with multiple repointings - Card 3293

2 participants