simon04/gnome-shell-extension-weather — Issue #41: Weather service should be given a location  ID, not a WOEID
Author: richardjharris
Created: 2011-11-25 13:40:48+00:00
State: open

I set my WOEID to 12056 (Bath, UK) and the weather applet displayed weather for Duanesburg, NY.

Yahoo's weather service requires a location ID as the 'location' field, not a WOEID. For example:

http://developer.yahoo.com/yql/console/#h=select%20item%20from%20weather.forecast%20where%20location%20%3D%2012056%3B
Shows Duanesburg, NY.

It is possible to get location IDs via weather.com:
http://xoap.weather.com/search/search?where=Bath

Setting woeid to one of these IDs, e.g. UKXX0012 in my case, works as intended:

select item from weather.forecast where location = "UKXX0012";

It seems like the applet is working for everyone else - perhaps some WOEIDs are accepted but not others?