Weather forecasts are incomplete/invalid for Montreal, Quebec, Canada
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libgweather |
Fix Released
|
Low
|
|||
libgweather (Ubuntu) |
Fix Released
|
Low
|
Mathieu Trudel-Lapierre |
Bug Description
The clock applet will display a sunny icon with "Unknown" weather when Montreal, Quebec, Canada is selected as a location. This seems to be caused by libgweather using a small automated weather station CWTA (McTavish) instead of the expected Trudeau Intl Airport station CYUL. I think libgweather is sorting the stations by distance from the entered coordinates, so a possible solution would be to change Montreal coordinates to the same ones as the Trudeau airport.
Changing the CWTA code for CYUL in gconf and restarting the panel will "fix" the weather display.
This is a excerpt of the Locations.xms database:
<city>
<name>
<coordinates>
<location>
<name>McTavish Automated Reporting Station</name>
<code>
<coordinate
</location>
<location>
<name>Pierre Elliot Trudeau International Airport</name>
<code>
<radar>
<coordinate
</location>
</city>
Related branches
- No reviews requested
-
Diff: 32 lines2 files modifieddebian/changelog (+8/-0)
debian/patches/lp404616_default_station_for_montreal.patch (+12/-0)
Changed in libgweather (Ubuntu): | |
assignee: | nobody → Matt Trudel (mathieu-tl) |
Changed in libgweather (Ubuntu): | |
importance: | Undecided → Low |
status: | Confirmed → Fix Committed |
Changed in libgweather: | |
status: | Unknown → Confirmed |
Changed in libgweather: | |
status: | Confirmed → Fix Released |
Changed in libgweather: | |
importance: | Unknown → Low |
This bug has been around since at least Ubuntu 9.04 and after an upgrade to Ubuntu 9.10, it still lives.
I confirm this bug.
@Philippe : Could you please tell me where is this "Locations.xms" file located? I tried a "find ~ -name Locations.xms" but it returned no result.
Thanks