27
submitted 9 months ago by tronx4002@lemmy.world to c/astronomy@mander.xyz

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!

you are viewing a single comment's thread
view the rest of the comments
[-] paul0207 2 points 9 months ago

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

[-] tronx4002@lemmy.world 2 points 9 months ago

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

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

Astronomy

3804 readers
49 users here now

founded 2 years ago
MODERATORS