-
Notifications
You must be signed in to change notification settings - Fork 7
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
Results not matching with AGI STK #4
Comments
I'll try and take a look into this over the weekend. The results are quite close, meaning it's probably either a rounding error or some other small, hard to find issue. Will need to compare the results of node-sgp4 step by step to that of the original library and see where it goes haywire. Thanks for bringing this up! |
I've ran some tests against another sgp4 Javascript library and have found the results to be similar within 11 decimal places. Both of these libraries are based off of "Revisiting Spacetrack Report #3" (more info here). That being said, I am still interested in verifying the library against the C implementation found on the page linked above, and will provide updates here when I've determined the results. |
Just spun up STK 11, and I'm getting much closer results than you were:
|
But deviation is in kilometres, and its substantial STK Result:
Your Output:
|
I agree that it's quite a large deviation, though I am unable to verify it against anything other than the code provided in AIAA-2006-6753.zip and the results from STK that I was able to obtain. That being said, I have verified the results with the linked version of the library (C++) and the results (with slight deviation from that of node-sgp4) can be seen below. Here's a link to run the code I generated these results with: https://repl.it/MrjE/1
node-sgp4 is made to replicate the library linked above, and as it is replicating those results, this does not seem to be an issue with node-sgp4. My only other thought is that STK is using something other than WGS84 for the propagation constants. If anyone has any further information, I would love to hear it. |
Maybe there is some understanding issue because of which I am not able to generate correct results. Please help me regarding this.
I have compared the results with AGI STK Desktop application. AGI STK Help Page says
Following is the full description of my usage:
TLE Data:
ECI Data generated from AGI STK software:
My Code( using sgp4.js):
ECI data from my code(using node-SGP4):
The text was updated successfully, but these errors were encountered: