by Alex3917 · 11y ago · 0 comments
For example, I've used it to crank out random temperature histograms in the past[2], and even plotted some long-term averages to decide on temperature and precipitation ranges when going on camping trips. It's really useful if you're willing to work with the data a tiny bit. You're getting csv files, so it's not terrible to work with in any way via Python or R, or whichever data-friendly language/tool you want to use.
[1] http://cdiac.ornl.gov/epubs/ndp/ushcn/ushcn_map_interface.ht...
[2] http://btus.us/decadal-histograms-of-monthly-yosemite-temper...
I realize that it's theoretically possible to get this working. But it's not easy. What I want is a way to enter a postal code and get a JSON response with the precipitation for the last week. Without having to convert to scientology, learn GeoDjango, license GIS software, read an 800 page manual on parsing a bytestream from a satellite, etc.
It wouldn't be terribly difficult to mechanize this and get all the data at once, but I thought you wanted to occasionally see how much it rained, not build a service out of this.
Does this page[1] not contain what you need?
I share the parent's sentiment; finding easy access to good weather data is hard.
Do you want your side project to be an experience in learning how to parse obscure formats and coordinating obsolete dependencies, or HTTP GET some JSON and immediately do something with the data?
I once bought data from them for couple of hundred dollars.
http://www.wunderground.com/history/airport/KSFO/2015/10/28/...
Source: http://www.cnbc.com/2015/10/28/ibm-plans-to-acquire-the-weat...
api: http://www.wunderground.com/weather/api/d/docs
National weather service, http://weather.gov is my goto weather forecaster, but at the time I wrote the code, getting hourly data based on lat/long for several thousand locations (some outside the US) was problematic. and XML..
$ curl -s "http://www.wunderground.com/history/airport/KMSP/2015/09/31/MonthlyHistory.html?format=1" | grep -v Precip | cut -d "," -f 20https://www.ncdc.noaa.gov/data-access/land-based-station-dat...
There is also a link to the python script I made to scrape it
IBM is in the business of providing data about a whole lot of things. I would expect the cost for access to this data to go up, not down -- the majority people who care about how much it rained in the last week only care because they can make more money by knowing that.