Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Weather

benjymous edited this page Oct 1, 2012 · 5 revisions

Weather data can be sourced from either Yahoo or Weather Underground.

Using Wunderground needs an API key - you can get one by signing up for a free developer key at http://www.wunderground.com/weather/api/ (just put metawatch.org for the company website) and then enter it in the MWM preferences screen.

The Weather Geolocation Mode option lets you chose the location source for your weather:

  • Use manually entered location is simple - if you type in "London, UK" you'll get the weather for London, no matter where you are. You'll often have to put in a state or country - something like "Boston, MA", "London, UK" or "Paris, FR" seem to work fairly reliably.

  • Use Weather Provider means it'll send the lat/lng received from the phone's location update straight to Wunderground or Yahoo, and let them provide the location name, and the weather for it. This should be more reliable for getting the correct weather, but you might find in some places you'll be getting a town/station that's a few miles away.

  • Always use Google means it'll send the lat/lng to the Google geolocation API (a separate API to the weather one), which will return a location name / zipcode, then send that name to Wunderground or Yahoo to get the weather. This often gives a more accurate name, but there's a chance it might confuse the weather API you're using, and give the weather for the wrong place.

There's no "right" answer for which to use, as it entirely depends on the accuracy of the geolocation databases for the various providers.

Clone this wiki locally