Skip to content

phanphuthien/noaaish

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Noaaish

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

Installation

Add this line to your application's Gemfile:

gem 'noaaish'

And then execute:

$ bundle

Or install it yourself as:

$ gem install noaaish

Usage

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

Contributing

  1. Fork it ( http://github.com/cschneid/noaaish/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 85.0%
  • Ruby 15.0%