- Joined
- Jun 26, 2009
- Messages
- 1,045
- Reaction score
- 0
- Points
- 36
Hi everyone,
I have been looking through the algorithm on this page:
http://stjarnhimlen.se/comp/ppcomp.html
http://stjarnhimlen.se/comp/tutorial.html
...and I decided to make a program to calculate the positions of the planets. I've finished it (it's available here: http://gkastro.0sites.org/Ephemcalc.exe) and it seems to give pretty accurate positions for most of the planets when compared to calsky. However, I've noticed that the positions for Saturn and Neptune seem to be pretty far off what Calsky says, so I was wondering if it anyone could explain why? Is there a general inaccuracy when calculating Neptune and Saturn's positions, or is it likely ot be just me?
I haven't included the peturbations in the program (but there aren't any described for Neptune anyway).
Also, the program sometimes outputs negative right ascension values, which doesn't seem to be possible. Can anyone tell me what to do if I get negative R.A. values (do I need to add/subtract a set value until RA falls within a certain boundary)?
Thanks!
I have been looking through the algorithm on this page:
http://stjarnhimlen.se/comp/ppcomp.html
http://stjarnhimlen.se/comp/tutorial.html
...and I decided to make a program to calculate the positions of the planets. I've finished it (it's available here: http://gkastro.0sites.org/Ephemcalc.exe) and it seems to give pretty accurate positions for most of the planets when compared to calsky. However, I've noticed that the positions for Saturn and Neptune seem to be pretty far off what Calsky says, so I was wondering if it anyone could explain why? Is there a general inaccuracy when calculating Neptune and Saturn's positions, or is it likely ot be just me?
I haven't included the peturbations in the program (but there aren't any described for Neptune anyway).
Also, the program sometimes outputs negative right ascension values, which doesn't seem to be possible. Can anyone tell me what to do if I get negative R.A. values (do I need to add/subtract a set value until RA falls within a certain boundary)?
Thanks!