Christopher Barker wrote: > Jeff Whitaker wrote: >> Jim: I was googling around and found this python code: > > Do be careful way up North or Down south -- some Sunrise/set code > chokes when the sun does not ever rise or set at a given location on a > given day. A quick glance at that code looked like it may not handle > that. > > There is some nice code in the JavaScript on this page: > > http://www.srrb.noaa.gov/highlights/sunrise/sunrise.html > > It looks to me like it was translated from C, but the webmaster said not. > > I've got it partly converted to Python, enclosed. If you finish it > (and better yet, test it!), please let me know. > > -Chris > > Thanks for the warning Chris and also thanks for the code. I will take a look at it and if I finish/test it, I will certainly let you know.
Thanks again, -- jv ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users