Moon's position angle? #278
-
I want to calculate the position angle like that in this NASA page. This position angle (I think) is the position angle of north pole with respect to the moon's location. So I used the But I can't get the correct value, I got the value varies between about +-1.5 degrees. But the correct value should varies between +-20 degrees (roughly the the angle between equator and moon's orbit plane) I wrote above code in Swift (which can easily use C libraries).
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I just found that the value I got are smaller by a factor of 14.5 compared with the NASA value, that is weird... |
Beta Was this translation helpful? Give feedback.
-
One thing that will affect your calculations is that right ascension (RA) is not measured in degrees, but sidereal hours. To convert RA to degrees, you need to multiply it by (360/24) = 15. Can you try making that correction and see how it affects your results? |
Beta Was this translation helpful? Give feedback.
One thing that will affect your calculations is that right ascension (RA) is not measured in degrees, but sidereal hours. To convert RA to degrees, you need to multiply it by (360/24) = 15. Can you try making that correction and see how it affects your results?