good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Astro::Sunrise errorby thunders (Priest) |
on Jun 17, 2009 at 04:25 UTC ( [id://772221]=note: print w/replies, xml ) | Need Help?? |
It seems to be an error in the Module's recently added iterator feature, it's definitely worth filing a bug. I found that if I leave off the last argument to sunrise, I get an answer for that date.
That seems to be about three minutes off for both sunrise and sunset from what I get at this page: http://aa.usno.navy.mil/data/docs/RS_OneDay.php Assuming that site is correct, it may still be close enough for your purposes. Update: corrected some numbers above.
In Section
Seekers of Perl Wisdom
|
|