samtx / passpredict

Predict upcoming satellite overpasses over a point on Earth.
MIT License
23 stars 6 forks source link

Investigate `predict()` error #2

Closed samtx closed 4 years ago

samtx commented 4 years ago

The current output for predict only returns overpass predictions between midnight and 12:59pm local time. The sgp4 propagation is probably correct, so the error is most likely within the conversion from TEME to ECEF coordinates in propagate() or somewhere in predict_passes()

samtx commented 4 years ago

The error was coming from an incorrect rotation matrix operation in rotations.teme2ecef()

Fixed in commit 3a1f99c36251856e3c8fc9133b98f665a3e44a8f