Hi everyone, I'm working on a portal-like site and I'd like to display the current weather conditions on the main page. There are hundreds of stations in the U.S. (don't know about the rest of the world) that have the current weather as part of the METAR system of the National Weather Service. The reports can be retrieved from http://weather.noaa.gov/weather/metar.shtml or by anonymous ftp at ftp://weather.noaa.gov/data/observations/metar In either case you need to know the 4-letter ICAO code for your location. Can anyone recommend a strategy for this task? Some external method that goes out and grabs the latest weather codes perhaps? ZClient? I would really appreciate a suggestion. I'm still a Zope and Python newbie, and I figure this would be a good problem to work on. Thanks. -Tim -- Timothy Wilson | "The faster you | Check out: Henry Sibley H.S. | go, the shorter | http://slashdot.org/ W. St. Paul, MN, USA | you are." | http://linux.com/ wilson@chem.umn.edu | -Einstein | http://www.mn-linux.org/
On Mon, 18 Oct 1999, Tim Wilson wrote:
Hi everyone,
I'm working on a portal-like site and I'd like to display the current weather conditions on the main page. There are hundreds of stations in the U.S. (don't know about the rest of the world) that have the current weather as part of the METAR system of the National Weather Service. The ...
figure this would be a good problem to work on. Thanks.
This is a project I will be undertaking in November! What a coincidence! I haven't thought about it yet but if you have some good ideas let me know. I will actually need to collect all the available weather info and publish them using different data formats in Zope. Pavlos
+----[ Pavlos Christoforou ]--------------------------------------------- | On Mon, 18 Oct 1999, Tim Wilson wrote: | | > Hi everyone, | > | > I'm working on a portal-like site and I'd like to display the current | > weather conditions on the main page. There are hundreds of stations in the | > U.S. (don't know about the rest of the world) that have the current | > weather as part of the METAR system of the National Weather Service. The | ... | | > figure this would be a good problem to work on. Thanks. | | This is a project I will be undertaking in November! What a | coincidence! I haven't thought about it yet but if you have some good | ideas let me know. I will actually need to collect all the available | weather info and publish them using different data formats in Zope. There is a Window Maker (X11 Window Manager) dockapp called WmWeather that pulls down the right weather stuff for you if you know the code and breaks the stuff out (it's in perl). It also tells you where to start to get your code. I don't have it handy but you could start from:- www.windowmaker.org and look at the dockaps there will be a pointer to it one or two links away from there. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | Milton ACN: 082 081 472 | M:+61 416 022 411 |72 Col .Sig PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|Specialist
I found something a while ago called pyWeather. Sorry, I don't remember where I got it but the AUTHOR file credits one "Groundhog" at linuxfreak.org If you can't find it, email me and I'll send it along. Craig
Can anyone recommend a strategy for this task? Some external method that goes out and grabs the latest weather codes perhaps? ZClient? I would really appreciate a suggestion. I'm still a Zope and Python newbie, and I figure this would be a good problem to work on. Thanks.
-- Craig Allen - Managing Partner - Mutual Alchemy Web Architecture - http://alchemy.nu
participants (4)
-
Andrew Kenneth Milton -
Craig Allen -
Pavlos Christoforou -
Tim Wilson