Skip to content
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

Improve the precision of planet positions. #18

Open
johanley opened this issue Mar 8, 2017 · 0 comments
Open

Improve the precision of planet positions. #18

johanley opened this issue Mar 8, 2017 · 0 comments

Comments

@johanley
Copy link
Owner

johanley commented Mar 8, 2017

There's a good technique described in the Observer's Handbook for calculating fairly precise positions over a limited time span (about a year). (See page 22, in the 2017 Handbook.)

The idea is to use two osculating orbits, taken for 2 specific moments, separated by ~6 months. For other moments, just use linear interpolation/extrapolation to get a good approximation to the orbit. This technique has a max error of ~2-3 arc seconds over a limited time span.

This algo is already mostly implemented. The exception is the Earth/Sun, where the current impl uses a mean orbit (less accurate). The problem, of course, is that the loss of precision for the Earth's position propagates to the calculated position of all the other planets. In other words, the Earth is the weak link in the chain here.

The fix needs :

  • a change in the algo for the position of the Earth/Sun
  • preferably, to account for the fact that, in the Observer's Handbook, the osculating orbit for the Earth is for the barycenter of the Earth-Moon system. At a distance of 1 AU, this changes positions by about 6 arcseconds.
@johanley johanley changed the title Improve the precision of the planets. Improve the precision of the planet positions. Mar 8, 2017
@johanley johanley changed the title Improve the precision of the planet positions. Improve the precision of planet positions. Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant