Skip to content

Support Alpha-5 satellite IDs in SQLiteTLE - #259

Merged
pnuu merged 2 commits into
pytroll:mainfrom
pnuu:alpha5-satids
Oct 29, 2026
Merged

pnuu merged 2 commits into
pytroll:mainfrom
pnuu:alpha5-satids

Conversation

@pnuu

@pnuu pnuu commented Oct 26, 2026

Copy link
Copy Markdown
Member

Satellites with NORAD IDs over 99999 have the ID given in Alpha-5 format (e.g. "A0910") in the TLE, which failed in the conversion to integer. Handle the satellite IDs as strings instead.

Implemented with Claude.

  • Closes #xxxx
  • Tests added
  • Fully documented

Satellites with NORAD IDs over 99999 have the ID given in Alpha-5
format (e.g. "A0910") in the TLE, which failed in the conversion to
integer. Handle the satellite IDs as strings instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pnuu
pnuu requested review from adybbroe and mraspaud October 26, 2026 08:33
@pnuu pnuu self-assigned this Oct 26, 2026
@codecov

codecov Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.01%. Comparing base (2ffd93e) to head (46bbaa4).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #259      +/-   ##
==========================================
+ Coverage   92.94%   93.01%   +0.06%     
==========================================
  Files          22       22              
  Lines        4834     4882      +48     
==========================================
+ Hits         4493     4541      +48     
  Misses        341      341              
Flag Coverage Δ
unittests 93.01% <100.00%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The platforms in the configuration are given as numeric NORAD IDs, as
these are used when retrieving the TLEs. The TLEs, and thus the
database, use the Alpha-5 format for IDs over 99999.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pnuu
pnuu merged commit cd2f1f8 into pytroll:main Oct 29, 2026
17 of 27 checks passed
@pnuu
pnuu deleted the alpha5-satids branch October 29, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant