weather script

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Sep 16 18:11:36 UTC 2004


On Thu, Sep 16, 2004 at 01:59:12PM -0400, David J Patrick wrote:
> I know this should be dead easy, but I have been unable to cook up a
> simple script that would get tomorrows weather forcast, so that I can
> dump it into a text file.
> 
> I've been looking at 
> http://www.schwarzvogel.de/software-pymetar.shtml
> but haven't managed to get the desired output.
> 
> any suggestions ?
> 
> ps, I'd also like to include sun rise/set times in the script.
> thanks,

I had a small script in perl get me weather using Weather::Underground
CPAN module.  I thought it was pretty nice at the time.  No idea about
the sun rise/set times though.  I can't remember if that was included.
There are a number of perl modules for weather on cpan, although some
are for specific countries only.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list