skyfielders / python-skyfield

Elegant astronomy for Python
MIT License
1.38k stars 208 forks source link

Calculation revnums #922

Closed foxittt closed 7 months ago

foxittt commented 7 months ago

Is it possible to obtain satellite revnum after propagating position from tle?

brandon-rhodes commented 7 months ago

Alas, no. The underlying official SGP4 algorithm does not compute a revnum. It merely reads it in from the TLE lines, but does nothing further with it. Here's the source code; if you search for revnum, you will find the routines that read it in, but you will see that the propagator does not touch that value:

https://github.com/brandon-rhodes/python-sgp4/blob/master/extension/SGP4.cpp