Fixed Incorrect/incomplete sat labels when loading TLE files

R2robot

Member
When loading a TLE file for starlink sats, the labels show as TLE_2, TLE_4 etc. This wasn't the case before. (or was it?!)

Screenshot 2026-02-20 at 14.19.53.png




I tried 2 different files. (i'm not sure why one of the tle files only had 11 sats in it. SitRec shows 7 satellites and only 6 labels for that one.

https://www.metabunk.org/sitrec/?cu...18/starlink tle over italy/20260220_201854.js
 

Attachments

I loaded up your sitch and then dropped your g10-36.txt TLE file on. The file contains 11 records, and I see 11 satellites, with correct labels?

1771621315760.png
 
Fixed. You had a blank line at the start of the file that messed up the parsing. I've made it skip blank lines at the start.

Also fixed a bug where it was not always choosing the best TLE entry
 
Fixed. You had a blank line at the start of the file that messed up the parsing. I've made it skip blank lines at the start.

Also fixed a bug where it was not always choosing the best TLE entry
I noticed the blank line at the beginning too, and thought it was that (seen it before with other TLE decoders). But was puzzled when it worked just fine. Human race condition :D
 
Back
Top