Fetches historical weather data from NOAA's FTP server
Heavily influenced by https://github.com/stewartwatts/noaahist - but nowhere as cool yet.
No auto-finding of station ids yet
Add this line to your application's Gemfile:
gem 'noaaish'
And then execute:
$ bundle
Or install it yourself as:
$ gem install noaaish
station_id = "720538-99999"
results = Noaaish.data_for(station_id, [2013, 2014])
# result[0] = an array of hashes containing all data points for 2013
# result[1] = an array of hashes containing all data points for 2014
- Fork it ( http://github.com/cschneid/noaaish/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request