Skip to main content

Verification: run the SGP4 harness against python-sgp4 and satellite.js

The SGP4 verification proves a C++ build of Vallado's SGP4 against the official Fortran, MATLAB and Java outputs (within 0.12 mm over 666 state vectors on Linux CI). Engineers mostly use SGP4 through libraries; the same harness can verify the two most popular ones.

Deliverable

  • A driver for the sgp4 Python package that writes output in the out/tcppver.out format (WGS-72, AFSPC mode, as the official driver uses)
  • The same for satellite.js (JavaScript)
  • A results table per library in the README, with library version and date run

How it is verified

  • verify_sgp4.py compares each library's output unchanged and passes, or every disagreement is investigated and explained
  • Library bugs are reported upstream and linked