Revisiting Spacetrack Report Number (#3)
July 17, 2026 · 1.1 MB
Four orbit specialists rebuilt the public SGP4 satellite-tracking code, released by the Defense Department in 1980, into one corrected version with test cases, after decades of scattered, unofficial fixes.
Overview
Every day the US military publishes orbital data, in a format called two-line element sets, for thousands of objects circling Earth. Those numbers only give accurate positions when run through the matching prediction model, SGP4. Yet by 2006 the public versions of that model no longer matched the code the Defense Department used to produce the data, according to this AIAA paper (2006-6753).
Background
The authors are David A. Vallado and T. S. Kelso of the Center for Space Standards and Innovation in Colorado Springs, Paul Crawford of Crawford Communications in Dundee, Scotland, and Richard Hujsak of Analytical Graphics, Inc. They trace the history. The Simplified General Perturbations models began in the 1960s and became operational in the early 1970s. In 1980 the Defense Department released the equations and computer code as Spacetrack Report Number 3, which introduced five models, among them SGP4 and its deep-space companion SDP4. Because the military's element sets, distributed through NASA, were the only widely available orbital data, the 1980 code became the standard for anyone tracking satellites.
Errors and Fixes
Users then found errors and rare cases the code mishandled, and fixed them on their own. The fixes spread through many versions. NASA's Goddard Space Flight Center obtained a 1990 standalone version for its SeaWiFS mission and released it publicly in 1996 and 1997, confirming changes others had found. Crawford's "Dundee code" kept the fullest outside record of corrections. But no comprehensive update was ever released, and the authors note that even inside the military there are separate operational and standalone versions. Feeding the element sets into the wrong model, or converting them for a different propagator, gives bad results.
The Revised Code
The authors assume the underlying theory, documented in full by Felix Hoots and colleagues in 2004, has not changed, only the code. On that basis they assembled a non-proprietary version they believe closely matches recent military versions. They describe each change. Some fix real problems: the choice of method for certain inclinations, a deep-space integrator that jumped near 720 minutes before epoch in all older versions, and an iteration that took fewer steps after correction (an average of 3.984 against 5.685 for a very eccentric test orbit). Others modernize the code: explicit variable declarations, full double precision, a structure that handles several satellites at once, and choices of gravity constants. Where they were unsure what the Air Force does today, they flagged the code with comments.
Comparisons
Comparisons against the original 1980 code, the Goddard version and code in the JPL NAIF toolkit show that continuing to use the 1980 version, and to a lesser degree some later ones, can produce large position errors. The paper includes test cases for difficult orbits and branches of the code, page after page of results, and full source code in C++. The authors stress that their code is not a formal consensus standard, since no such standard exists for orbit propagation, and they ask the Air Force to confirm the current state of its own code.
A widely used reference for anyone who computes satellite positions from public orbital data.
