Bug 70745 - ICAO base is out of date
Summary: ICAO base is out of date
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kweather-kde3
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: geiseri
URL:
Keywords:
: 82324 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-18 12:57 UTC by Hasso Tepper
Modified: 2010-04-17 15:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hasso Tepper 2003-12-18 12:57:17 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

ICAO given in KWeather settings base is awfully out of date. This one seems to be better - https://www.notams.jcs.mil/icao/.
Comment 1 Hasso Tepper 2003-12-18 13:10:47 UTC
Damn. Don't write anything if you haven't have coffee yet. First sentence of report should be - ICAO base located in URL given in KWeather settings is awfully out of date.
Comment 2 Sashmit Bhaduri 2004-01-07 05:19:55 UTC
that site seems to be down
Comment 3 Hasso Tepper 2004-01-07 08:59:51 UTC
Subject: Re:  ICAO base is out of date

> that site seems to be down

Works fine here.

Comment 4 Christian Loose 2004-01-14 16:33:39 UTC
I'm not sure if you will find a good (not out-of-date) database for ICAO codes.
But I agree that your link seems to be better.

Some links I found...

A good source for information seems to be:
http://www.dlangley.demon.co.uk/icao.htm

On this site you can find text files for the codes:
http://www.wajb.freeserve.co.uk/codes.htm

The only definite source for Location Indicators is (just $110):
http://icaodsu.openface.ca/mainpage.ch2 and search for document number 7910/109

Christian
Comment 5 mcamen 2004-06-10 21:05:24 UTC
*** Bug 82324 has been marked as a duplicate of this bug. ***
Comment 6 JW 2004-08-09 04:41:59 UTC
Asia/Thailand is still missing in kweather in kde 3.3_rc1.

Code is VTBD.

Will kde 3.3 ship without weather info for one of the world's prime holiday locations ?
Comment 7 Waldo Bastian 2004-08-12 12:27:19 UTC
CVS commit by waba: 

Added Thailand (BR70745)
CCMAIL:70745@bugs.kde.org


  M +5 -1      weather_stations.desktop   1.3


--- kdetoys/kweather/weather_stations.desktop  #1.2:1.3
@@ -2488,5 +2488,5 @@
 [AS]
 name=Asia
-states=CN HK IN JP KR KP PK SG TW VN
+states=CN HK IN JP KR KP PK SG TH TW VN
 
 [AS_VN]
@@ -2685,4 +2685,8 @@
 loc0=Singapore WSSS ------ ---
 
+[AS_TH]
+name=Thailand
+loc0=Don\\ Muang VTBD ------ ---
+
 [AS_TW]
 name=Taiwan


Comment 8 Waldo Bastian 2004-08-12 12:41:21 UTC
KWeather shouldn't include its own country names but use KLocale::twoAlphaToLanguageName() instead. Likewise weather_stations.desktop contains the names of weather stations which is redundant since the same information is already present in stations.dat

It may also make sense to remove the country name from stations.dat and use
the two-alpha language-code there instead.

UI wise I don't understand why I need to enter a ICAO code in the "Display" tab when the "Weather Service" tab seems to ask for the same information in a much more user-friendlier way. (But with many stations that are listed in stations.dat missing)
Comment 9 JW 2004-08-12 19:09:40 UTC
Hi Waldo,

As usual, once you point your finger into something, magic is operating and things suddenly start to work ;-)

Thanks a lot !
Comment 10 geiseri 2004-08-13 16:43:03 UTC
I am thinking for the next rev of KDE I am just going to use the
KHotNewStuff classes to update this file between releases.  Since its
regenerated nightly here, it would make sense that I can post it somewhere
and have it automagicly updated.

Cheers
   -ian reinhart geiser

Comment 11 marazm 2004-11-24 17:11:31 UTC
In Latvia (Europe) we have two working weather stations:
EVRA - Riga
EVLA - Liepaja

PS. Gnome weather applet has more weather stations and Riga weather station works "out of box" ;) 
Comment 12 Martin Koller 2007-01-14 22:13:55 UTC
To comment #8: Using KLocale::twoAlphaToLanguageName() can not be done as it seems that the country codes in weather_stations.desktop are not the one from the ISO used in KLocale (e.g. OS is used for Austria, but the ISO defines this to be AT). Probably the country 2-letter codes in this app are coming from the ICAO
Comment 13 Stefan Böhmann 2010-04-17 15:59:40 UTC
kweather isn't maintained anymore. A replacement could be the weather plasmoid. 

If this bug is still valid for the weather plasmoid please open a bug against it (Product: plasma, Component: widget-weather).