noaaish 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7804d29bdb0f1387f2ef2d789b59bda003390f88
4
- data.tar.gz: acdf2282840ad7d98f960e625c1350002add4712
3
+ metadata.gz: d21d11e81cd686f346ad8dc630a6f9df8ca48ad7
4
+ data.tar.gz: 8b2957ff63e2e295abe7caccf29a4bba682fccea
5
5
  SHA512:
6
- metadata.gz: fbf9da72828a92dfd94e16735b62be3bcbc9c1af4bd286624f4ee720f34c0878c2557b1da9bd7247c40348b629f2149dadafdd0473a8724e683b6dd0f5bce770
7
- data.tar.gz: 87b9e398abf54587a376d3463d8c7e505f3e189009af7ef9db8e7c59246a48692412588c1d1f16ac21c20989943faa44e6e00fba1144cb3fc37df6cc470da30b
6
+ metadata.gz: f537ebede1452a4acb48c3b3e050fe237cddcc9a0875e59cdb282fb1ba159c0bb9d80f5f6f98ce494d66879c5946db647497a470a3e0d7612f872574ae8113a2
7
+ data.tar.gz: 190cdace5086eba162c1426b802fcf74216d9b46cce186c5018b2c75ae8feec34772717bce8ba75c1a449dba9b2cea9405561125c753078936a8a29af40ed9ea
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Noaaish
2
2
 
3
- TODO: Write a gem description
3
+ Fetches historical weather data from NOAA's FTP server
4
+
5
+ Heavily influenced by https://github.com/stewartwatts/noaahist - but nowhere as cool yet.
6
+
7
+ No auto-finding of station ids yet
4
8
 
5
9
  ## Installation
6
10
 
@@ -18,11 +22,16 @@ Or install it yourself as:
18
22
 
19
23
  ## Usage
20
24
 
21
- TODO: Write usage instructions here
25
+ ```
26
+ station_id = "720538-99999"
27
+ results = Noaaish.data_for(station_id, [2013, 2014])
28
+ # result[0] = a Tempfile holding a JSON representation of all 2013 data
29
+ # result[1] = a Tempfile holding a JSON representation of all 2014 data
30
+ ``
22
31
 
23
32
  ## Contributing
24
33
 
25
- 1. Fork it ( http://github.com/<my-github-username>/noaaish/fork )
34
+ 1. Fork it ( http://github.com/cschneid/noaaish/fork )
26
35
  2. Create your feature branch (`git checkout -b my-new-feature`)
27
36
  3. Commit your changes (`git commit -am 'Add some feature'`)
28
37
  4. Push to the branch (`git push origin my-new-feature`)
@@ -4,7 +4,6 @@ require "noaaish/gunzip"
4
4
  require "noaaish/translator"
5
5
  require "noaaish/extractor"
6
6
 
7
- # Returns a list of
8
7
  module Noaaish
9
8
  def self.data_for(station_id, years)
10
9
  station_id = station_id
@@ -1,3 +1,3 @@
1
1
  module Noaaish
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["cschneider@comverge.com"]
11
11
  spec.summary = %q{Fetch ISH data from NOAA}
12
12
  spec.description = %q{Fetch ISH data from NOAA}
13
- spec.homepage = ""
13
+ spec.homepage = "http://www.github.com/cschneid/noaaish"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noaaish
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Schneider
@@ -107,7 +107,7 @@ files:
107
107
  - spec/lib/noaaish/fetch_spec.rb
108
108
  - spec/lib/noaaish/gunzip_spec.rb
109
109
  - spec/spec_helper.rb
110
- homepage: ''
110
+ homepage: http://www.github.com/cschneid/noaaish
111
111
  licenses:
112
112
  - MIT
113
113
  metadata: {}