GNOME Bugzilla – Bug 142823
weather: Invalid
Last modified: 2004-12-22 21:47:04 UTC
There's a bit of parsing missing in gweather. I often got "Invalid" in Toulouse (France). Gave a look to the source, an it appears that it is due to METAR reporting "CAVOK" instead of "CLR..." "FEW..." etc. After looking a bit around, I saw that CAVOK is: CAVOK. This means ceiling and visibility OK and is used to replace weather and clouds if visibility is 10 kilometers or more, there are no clouds below 1500 meters (5000 feet) or below the highest minimum air traffic control sector altitude, whichever is greater. Also, there must be no other significant weather. So it's too sunny there, looks like ;-) Attached is a patch that handles CAVOK as CLR.
Created attachment 27867 [details] [review] patch to weather.c
Btw, kaushal, the PATCH keyword is no longer needed, you can filter on attachment types using the query and that is what we use nowadays. __ Thanks for the patch, we'll look into it!
*** Bug 142403 has been marked as a duplicate of this bug. ***
Luis: FWIW, could we then have the 'PATCH' keyword removed from the list. I can see people still add it after a patch.
Hi, I missed, before filing, the bug #134452 which seems to be the same. It has a patch also, seems to handle more cases. Maybe this bug's a dupe of bug #134452 ?
Yah, sounds like it. Marking as duplicate but please reopen if not. *** This bug has been marked as a duplicate of 134452 ***