this post was submitted on 07 Nov 2023
26 points (100.0% liked)

Astronomy

3821 readers
2 users here now

founded 2 years ago
MODERATORS
 

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!

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 9 months ago (1 children)

Hello, are you accounting for parallax and for atmospheric refraction?

[โ€“] [email protected] 2 points 9 months ago

Refraction yes, but not parallax. I will add that in. I appreciate the reply!