3482 update pointing attitude job to use start date and minor version - #3485
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Unresolved CLI error paths can cause unhandled exceptions.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (3)
What changed in this PR
Updates pointing-attitude generation to use the batch-provided start date and minor version.
Changes:
- Narrows coverage using the requested start date.
- Uses the batch minor version for DPS kernel filenames.
- Updates CLI forwarding and tests.
| File | Summary | Review notes |
|---|---|---|
imap_processing/tests/test_cli.py |
Tests CLI argument propagation. | Nit (2 votes): Add coverage for the resolved minor-version and dependency-map paths. |
imap_processing/tests/spice/test_pointing_frame.py |
Tests start-date filtering and filename behavior. | — |
imap_processing/spice/pointing_frame.py |
Applies start-date filtering and version-based naming. | — |
imap_processing/cli.py |
Passes the batch date and resolved minor version. | Critical (2 votes): Handle missing self.start_date for --repointing. Moderate (2 votes): Handle a missing version fallback explicitly. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
tmplummer
requested review from
jaredclaypoole,
laspsandoval,
leowerneck and
tech3371
and
a lite review from Copilot
September 22, 2026 16:18
tmplummer
merged commit Sep 24, 2026
89ebfe6
into
IMAP-Science-Operations-Center:dev
22 checks passed
tmplummer
deleted the
3482-update-pointing_attitude-job-to-use-start-date
branch
September 24, 2026 20:00
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.



Change Summary
Update the pointing attitude job to use the batch-provided start date (from dagster's custom partitioning) as the coverage floor, and to use the batch-provided minor version for the output DPS kernel filename.
Overview
Previously, pointing_frame.py derived its own coverage start date from the earliest time covered by the input CK files, and named the output DPS kernel using the version parsed from the input CK filename. With dagster now supplying a partition start date and minor version via the batch command, the job should respect those instead:Coverage start is now max(batch start_date, CK coverage start) — narrows output to the requested date while still guaranteeing any selected pointing is fully
covered by the input CKs (avoids selecting a pointing with no actuThe existing "first fully covered pointing" selection logic is unchanged.
File changes
Testing
Closes: #3482