suncalc-php icon indicating copy to clipboard operation
suncalc-php copied to clipboard

Coarse moonrise/moonset algorithm

Open andersborgabiro opened this issue 3 years ago • 2 comments

If I understand correctly the cross-over interval uses 2 hour intervals. That's very coarse for observation nights. I tried a tighter interval, but it seems there are other values in the loop that are dependent on the interval, so the result didn't come out right. Maybe I misunderstood.

So...

Could this easily be made tighter, like 10 minutes?

Could there be introduced an argument to tell what interval to use?

Isn't it possible to cold-calculate moonrise and moonset based on astonomic data and location to make it more or less exact?

andersborgabiro avatar Mar 05 '21 12:03 andersborgabiro

did you found a solution??? or an alternative??

StefanoTesla avatar Nov 29 '21 11:11 StefanoTesla

I'm afraid I didn't pursue this further.

andersborgabiro avatar Nov 29 '21 12:11 andersborgabiro