Re: Package proposal Science_Weather
| From: | lists at zyanka dot li | Date: | Fri, 22 Aug 2003 08:23:57 +0000 |
| Subject: | Re: Package proposal Science_Weather | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-20376@lists.php.net to get a copy of this message | ||
Sorry for not properly replying, but you didn't include me in the
address-list and I'm not subscribed to pear-dev, you have to group-reply
please!
> > Alexander Wirtz wrote:
> > > I wrote a small class which retreives XML data from weather.com.
> >
> > Is the weather.com data free, or would you only be able to use this
> > class if you subscribe to it? METAR data is public domain from the
> > National Weather Service (www.weather.gov). Is there a more specific
> > name for this package that would allow for another weather package
> > that processes METAR? Science_Weather and Science_METAR could work,
> > but maybe someone else has another suggestion before it's too late to
> > change the name?
Ok, the problem is that METAR has a much more coarse weather-grid, because
it only represents the weather-data gathered at airports, and not even at
everyone, but only at larger ports with data-uplinks... figures. Also it's
not XML used there, but a proprietary data-representation, no big deal.
On the other hand, weather.com is free for registered people _and_ for
open-source software, providing that data. Please see
http://download.weather.com/web/xml/sdk.zip
for further details... it's a pdf included there.
> [...]
> How about a class Science_Weather as a wrapped / interface for all
> weather-services - defining a common data structure etc. And then we
> might have classes Science_Weather_METAR as well as
> Science_Weather_WheaterDotCom as interfaces to the actual services.
Ok, as you brought up that topic, I'm willing to write a framework for at
least weather.com and METAR, I also saw another provider for weather XML
data, but this website was non existent, so I didn't followup'ed.
> I've seen another free service on the web, but can't remember it's
> name at the moment. They offer weather-data for free via XML-feeds.
> And maybe there are also regional weather-sites that are of interest
> to some people. So I think a general Science_Weather as an interface
> would be another solution. And all Weather-classes should be bundled
> in a common package.
To me the system would work as e.g. Cache, one main class and a Weather/
directory containing the multiple services, so everything would be kept in
one package.
Sounds ok?
Regards,
Alex
P.S. don't forget to include me in the cc ;-)