Skip to content

S1D support - #82

Merged
scottstanie merged 3 commits into
scottstanie:masterfrom
mgovorcin:master
Apr 18, 2026
Merged

scottstanie merged 3 commits into
scottstanie:masterfrom
mgovorcin:master

Conversation

@mgovorcin

Copy link
Copy Markdown
Contributor

No description provided.

mgovorcin and others added 2 commits April 17, 2026 13:17
- products.py: add S1D relative orbit formula (offset=42, derived from
  abs orbit 2389 -> rel orbit 73; needs verification with ESA docs)
- asf_client.py: add S1D to mission_to_eof_list to avoid KeyError
- dataspace_client.py: add S1D to valid satellite_id set
- download.py: allow S1D in missions validation; include S1D in default
  mission list when downloading by date
- cli.py: add S1D to --mission choice list

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Reads relativeOrbitNumber, orbitNumber, pass, and ascendingNodeTime
from manifest.safe. Works for S1A/B/C/D zips and SAFE directories.
Also derives the offset mod 175 for use in the relative orbit formula.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mgovorcin
mgovorcin marked this pull request as ready for review April 17, 2026 22:19
…e_orbit

Uses eof.products.Sentinel to parse the mission instead of an ad-hoc regex,
and detects zipped SAFE via zipfile.is_zipfile so files don't need a .zip
suffix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@scottstanie
scottstanie merged commit a1c47e9 into scottstanie:master Apr 18, 2026
@scottstanie

scottstanie commented Apr 18, 2026 •

Copy link
Copy Markdown
Owner

Noting that this is likely to change when they switch the phasing after retiring S1A. We'll need to figure out what to do with that at that point

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants