suncalc-php
suncalc-php copied to clipboard
Coarse moonrise/moonset algorithm
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?
did you found a solution??? or an alternative??
I'm afraid I didn't pursue this further.