I have been working on a hobby program that calculates the times of moonrise and moonset froma given location. for the formulas i have been using Jean Meeus’ Astronomical Algorithms book. So far I have successful been able to calculate the ascension and declination for any given date. Currently I am working on the rising setting and transit (chapter 15). My functions work with his example of Venus, but trying with the moon I do not get accurate results. Using the interpolation method in the book does not seem to add accuracy. Am I missing something? Are there specific considerations for the moon that are not included in the book? I would greatly appreciate any advice given!
Hello, are you accounting for parallax and for atmospheric refraction?
Refraction yes, but not parallax. I will add that in. I appreciate the reply!
I think this is neat!
I have no answer but I want to help the post gain attention by putting a comment in here.
I would be super interested in the answer as well, though again I have no idea what it might be or even what factors go in to the equation. I may be off in my assumption (and you may have already accounted for it) but I imagine the calculations for a satellite orbiting the body whose horizon is the subject must be different by at least one term from the calculations of governing a body orbiting the same mass as the horizon-owning-body