gweather/Locations

Piotr Smyrak piotr.smyrak at heron.pl
Tue May 18 06:27:06 PDT 2004


On Sun, 16 May 2004 14:33:21 -0700, "Kevin Oberman" <oberman at es.net>
 wrote:

> > Date: Sun, 16 May 2004 16:20:12 +0200
> > From: Piotr Smyrak <piotr.smyrak at heron.pl>
> > 
> > On Sat, 15 May 2004 20:49:41 -0700, "Kevin Oberman"
> > <oberman at es.net>
> >  wrote:
> > 
> > > > From: Piotr Smyrak <piotr.smyrak at heron.pl>
> > > > 
> > > > Do you know of any information source on the format of
> > > > gweather Locations file?
> > > > 
> > > > /usr/X11R6/share/gnome/gweather/Locations
> > > 
> > > Use the source. Search for 'url' in weather.c and you will
> > > find that it gets data from various places at NOAA. The
> > > primary information for current weather is at metar.noaa.gov.
> > > Forecasts come from other NOAA sites and I am not sure how
> > > many non-US locations are available.
> > 
> > Yes, this is what I was doing, but all I get is some
> > understanding of the fields, but I fail to find information on
> > what kind of code most of them require, and where I can get
> > those codes. 
> > 
> > So those are: name, code, zone, radar. And for: 
> > 
> > loc3=Anchorage PANC AKZ015 alaska
> > 
> > name is Anchorage
> > code is PANC 
> > zone is AKZ015
> > and finally radar is alaska
> > 
> > The code is actually an ICAO code for air ports, but what about
> > zone and radar? Is zone a postal zip or what? 
> 
> They are a "weather zone". Forecasts are made on larger zones that
> usually cover several reporting stations. That's what the zones
> are for. The'radar' value is an even larger area (especially near
> the Arctic and Antarctic due to the location of the satellites at
> the equator.
> 

Thanks a lot for all information.

> > I wanted to update info on Polish cities. And yesterday I got
> > the ICAO codes ready, but I would also like to fill the other
> > two fields. Also I was wondering about the regions codes,
> > whether there is any world standard in there, see:
> > 
[snip]
> 
> Actually, the format is by continent or other global region. The
> top of te file contains the list of regions: NA EU AF OZ ME AS M_
> AT for N. America, Europe, Africa, Australia/New Zealand, Middle
> East, Asia, Central and South America, and Atlantic. Each of those
> regions has a list of more local regions, usually countries or,
> for larger countries, states. 

Yeah, I understand that. But I was wondering about the lower level
regions, anyway I already resolved that. I wasn't probably
explaining myself :-} Sorry and thank you.

-- 
 Piotr Smyrak
 piotr.smyrak at heron.pl



More information about the freebsd-gnome mailing list