[Repost with additional info] Geocentric altitude/az of the sun and moon. #860
-
Sorry to repost this, I have added additional info which I hope will help in answering this query, and thus give a more accurate value. Normally, alt & az are topocentric. However, how can I get geocentric alt & az. The altitude at least, if not azimuth. I ask mainly due to the following (screenshot taken from this paper by Bernard Yallop 1997): So far looking at other libraries I have found that Swiss Ephemeris has this option, and cosinekitty at astronomy-engine managed to put together something for me in this regard using his library. Here (Swiss Ephemeris) and here is my discussion with cosinekitty in regards to this, hopefully it helps us here as well. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Edit: This weekend I had time to go back and read the crescent-Moon literature a bit more carefully, and I see that I was wrong about how I was trying to interpret the phrase "geocentric altitude". Instead, it really does mean "altitude" in the sense of "altitude-azimuth", computed as though the observer and their local horizon were somehow located down at the center of the Earth. So I've figured out how Skyfield can compute it! The full details are here, on issue #951, which also asked about that quantity: (Edited to remove wrong version of script; let's instead just link to #951, so the script can be updated there, in one place only, if further bugs are found.) |
Beta Was this translation helpful? Give feedback.
I can't make any sense of the phrase that defines ARCV, since there's no altitude from the center of the Earth, because there's no horizon there. Have you tried creating a lat/lon whose altitude is negative enough to put it at, or near, the center of the Earth? You could try something like elevation -6378 meters and see if the numbers agree with the paper.Edit: This weekend I had time to go back and read the crescent-Moon literature a bit more carefully, and I see that I was wrong about how I was trying to interpret the phrase "geocentric altitude". Instead, it really does mean "altitude" in the sense of "altitude-azimuth", computed as though the observer and their local horizon were som…