So, I want to find the distance to the Moon/any body after performing the correction for diurnal parallax. Unfortunately, the resources I have do not cover how to do this. Is there an easy algorithm to adjust the distance to an object after switching to topocentric coordinates, assuming an ellipsoidal Earth?

  • $\begingroup$ Sure it's possible. It would be an exercise in trigonometry. I'm curious about the reason that you need this. Do you want the distance to a particular point on the moon, or to the moon's centre, or just the closest point on the moon to your position? $\endgroup$
    – James K
    May 6 '20 at 21:32
  • 1
    $\begingroup$ @James K The moon's center. I'm writing an eclipse predictor and simulator, and I need the distance from the surface to the moon's center to calculate it's semidiameter to accurately simulate what eclipses look like. Currently, I'm just using the distance from Earth's center, but that's not ideal. $\endgroup$ May 6 '20 at 22:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.