Fabiz / MeeusJs

MeeusJs is an implementation of some algorithms of the Book 'Astronomical Algorithms of Jean Meeus' in Javascript.
MIT License
84 stars 16 forks source link

Wrong numbers around autumnal equinox #14

Open vo-va opened 3 years ago

vo-va commented 3 years ago

image

vo-va commented 3 years ago

Forgot to say lines represents sunsets and sunrises

adskhkdsajkds commented 10 months ago

I am having the same issue here I made a sun table for all of 2023 and spotted this bug, also around the autumnal equinox: Capture (From left to right: date, civil dawn start, sunrise, sunrise azimuth, solar noon, solar noon altitude, sunset, sunset azimuth, civil dusk end, day length, day length change) Note that "civil dawn start" and "civil dusk end" are not affected, since I wrote my own code to calculate them, but everything else is wrong

vo-va commented 8 months ago

@adskhkdsajkds you can try to use my fork https://www.npmjs.com/package/meeusjs-fork The issue specifically for the Sun raises should be fixed. Later I will clean debug code and publish patched code.