Project

noaaish

0.0
No commit activity in last 3 years
No release in over 3 years
Fetch ISH data from NOAA
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0
>= 0
>= 0
 Project Readme

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