MeeusJs
MeeusJs copied to clipboard
A.Moon.times bug?
hi Fabiz. Amazing adaptation of the Meeus algorithms!
but i noticed an oddity with the moonrise times function for Berlin (Lat: 52.49, Lon. 13.43) for this month... if the rise times are returned in seconds since 00:00 of the given day, then i get the following moonrise times (in readable format and UTC):
2017-07-18T23:15:10 2017-07-19T23:47:49 2017-07-20T00:27:31 <--------- the moon rises again 40 min later? 2017-07-21T00:26:57
i found another glitch
2017-07-13T21:08:08 2017-07-14T21:33:53 2017-07-15T02:58:53 <------- ?? 2017-07-16T21:27:27 2017-07-17T22:47:14
I found the same thing, but using approxTimes for the moon gets it much closer
I don't know what this library really produces (am not familiar with JavaScript) but the USNO-data are way off what is reported here.
@MenoData Yes, something appears to be wrong in the implementation.