Astrophysics is my main interest. Online documentation of the calculations to predict astronomical events is hard to find and often incomprehensible. Predicting Moon events is particularly challenging. I have been working on these pages on and off since 2013. It was only in the first quarter of 2024 that I revisited this from first principles and managed to get Moon rise and Moon set times working on 31 March.
One of the main issues was that there are three coordinate systems, ecliptic, equatorial and horizontal. The transformations between the systems is very badly documented online. Certain calculations need to be done in the right coordinate system!
Check out the menu above.