-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Update usage of sgp4 #60
Conversation
Pinging @rstoneback and @JonathonMSmith. Not ready for "review", but testing and discussion is welcome. |
Additional test: compare the mean motion to the expected orbital period
yields orbital periods of 92.4 min and 97 min respectively. The eccentricity for the second should match C/NOFS (0.032). |
Note: orbital conversion routines here assume a spherical Earth. This is resulting in a ~10km error when converting to altitude above an ellipsoid. Needs to be fixed here or in the next pull (geospacepy). The version of this with geospacepy (with ECEF and lat/lon/alt data) can be found in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jklenzing. Being able to specify an orbit from a more intuitive physical base rather than sort out the format of TLEs is a nice user improvement.
inclination : float | ||
Orbital Inclination in degrees (default=None) | ||
raan : float | ||
Right Ascension of the Ascending Node in degrees (default=None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could use a bit more description.
raan : float | ||
Right Ascension of the Ascending Node in degrees (default=None) | ||
arg_periapsis : float | ||
Argument of Periapsis in degrees (default=None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could use a bit more description.
So the altitudes that come out with respect to a mean Earth aren't correct when converted into a geodetic altitude? |
Missed this the first time around,
What do you think this is from? |
In the other branch, I tried to make a C/NOFS like satellite, 400km x 850km. The resulting orbit was 390 by 840. The Earth radius at the equator is about 7 km greater than the mean radius. This gets us close, but there still could be an error in my math. I need to check my assumptions with Liam once I pull together some summary plots from the other branch. |
The 20 cm comes from sgp4. The sgp4 1.x routines we were using previously are now stored in |
Co-authored-by: Russell Stoneback <rstoneba@utdallas.edu>
To compare with latitudes, etc, I've added a draft of the experimental code at #66. |
Description
Addresses #61, and #55 (partial); Replaces #8
Adds Keplerian inputs to the sgp4 object to streamline the user interface and bypass TLEs.
NOTE: the array generation routine produces slight differences in the orbital propagation, on the order of 20 cm, versus the previous version.
Type of change
to not work as expected)
How Has This Been Tested?
Assuming module is registered:
Difference in position for test cases better than microns in each dimension.
Test Configuration:
Checklist:
develop
(notmain
) branchCHANGELOG.md
, summarizing the changes