-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add fast algorithms to compute the position of the planets #27
Comments
I am working on a pure Julia version of VSOP87: https://github.com/JuliaAstro/AstroBase.jl/blob/master/src/ephemerides/Ephemerides.jl Would that fit the bill? It has the advantage of not needing any external data files (e.g. SPICE kernels) but it is actually slower than JPLEphemeris.jl right now. |
Hi @helgee , Indeed, that will be perfect! Thanks! Maybe, I can add the very, very simple approach on Vallado's book and let the user choose. However, it will be very good to use the VSOP87 due to the precision. |
So, my VSOP87 implementation is complete and agrees with the original Fortran version in it's native frame ( Any ideas what this could be? EDIT: This graph looks virtually identical for all bodies so this must be a frame alignment issue. |
Hi @helgee , Can you please provide me more information about the inputs and the expected results? I might be able to help. |
Thanks! I have been banging my head against this for a few days now... Here is the information I have collected so far:
Here is the paper they referenced but I have not understood it yet 😜 : |
Good @helgee ! I will process all this information to see if I can help you! Probably I will have time this week to do this. |
Hi @helgee , That matrix that rotates the VSOP frame to FK5 seems correct. It is possible to obtain a very, very close approximation using the information available in [1]. Moreover, there is a good test to see if the problem is just a frame rotation. If both vector representations have the same origin, then those norms must be very close. Is it possible to plot the norm difference? Like, However, I was thinking about this error and it does not seem to be that big at all. For example, according to [1], VSOP87 has an accuracy of 1 arcseg (I think so, I did not read the paper carefully). If you account the distance between the Sun and Mars, that angular error will be translated into a linear error of about 1,100 km. Hence, if my interpretation is correct, then it seems fine :) |
We need a fast algorithm to compute the position of the planets so that we can use in a numerical orbit propagator.
The text was updated successfully, but these errors were encountered: