Repository navigation
Place GeosynchronousOrbit at its longitude at epoch - #176
Merged
Merged
Conversation
A catalog model of sourced values dumped with its defaults (such as a spacecraft's resources with an unknown storage) gives values as None, which needed a provenance, so a system's record could not be written: its check parses the dumped system again. A value set to None is not given.
The node used the apparent rather than the mean sidereal time of SGP4's TEME frame, and SGP4's deep-space lunar and solar terms displace the satellite at its epoch from its mean elements, by up to about 0.04 deg by the date. The node is now solved so that the sub-satellite point at epoch is at the longitude (rotated by the argument of latitude), within 1e-6 deg. GOES's slot record is rerun (its longitude error was 0.037 deg).
ptgrogan
added a commit
that referenced
this pull request
Nov 25, 2026
With the geosynchronous orbit at its longitude at epoch (#176), the pixels of ABI, AHI, and FCI projected from their grids' nominal positions lie within 0.43, 0.51, and 0.92 km of the products' grids (median), down from 1.7, 2.8, and 3.3 km; most of the rest is the latitude to which SGP4's lunar and solar terms move the nominal orbit (0.004 to 0.006 deg).
This was referenced Nov 25, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
GeosynchronousOrbitso its satellite is over itslongitudeat the epoch. Before this change it was off by up to about 0.04°, depending on the date. Also fixes a catalog check that stopped system records from being written.GeosynchronousOrbitlongitudeCause. Two errors combined:
Fix.
get_right_ascension_ascending_nodenow solves for the node. It starts from mean sidereal time plus the longitude, and corrects until SGP4 places the sub-satellite point at the longitude, rotated by the argument of latitude so that satellites offset in true anomaly keep their offset. The result is cached. The orbit is still built with its one-day repeat cycle.Remaining error.
Record. GOES's
slotrecord was rerun. Its longitude error falls from 0.0371° to 0.0°.Provenance of values set to
Nonewrite_system_recordchecks a record by parsing the system's dumped entry again. A sourced model's values that areNone, such as GOES's spacecraftstorage, were treated as given and asked for a provenance. That failed onmainfor any system with such a value. A value set toNoneis now treated as not given. A new test parses every system's dumped entry again.For reviewers
pixelsrecords of ABI, AHI and FCI oncatalog-sample-sizeswere computed with the old offset. After both branches merge, their pixel positions improve to about 0.5 km, but their fixture tests (tolerance 0.01 km) fail until the three records are rerun. Whichever pull request merges second needs that rerun.get_right_ascension_ascending_nodeno longer equals apparent sidereal time plus the longitude. The test asserting that has been replaced with tests of the sub-satellite longitude at the epoch.Testing
python -m pytest tests -n auto).