MeeusJs icon indicating copy to clipboard operation
MeeusJs copied to clipboard

A.Moon.times bug?

Open randogoth opened this issue 7 years ago • 4 comments

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

randogoth avatar Jul 20 '17 21:07 randogoth

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

randogoth avatar Jul 21 '17 20:07 randogoth

I found the same thing, but using approxTimes for the moon gets it much closer

elijahparker avatar Sep 07 '17 17:09 elijahparker

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 avatar Dec 18 '17 15:12 MenoData

@MenoData Yes, something appears to be wrong in the implementation.

Wikinaut avatar Jan 04 '18 16:01 Wikinaut