knmi 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +18 -6
- data/Rakefile +1 -5
- data/VERSION +1 -1
- data/knmi.gemspec +3 -7
- metadata +5 -5
data/README.rdoc
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
= knmi
|
|
2
2
|
|
|
3
|
-
Ruby API to access
|
|
3
|
+
Ruby API to access Royal Netherlands Meteorological Institute daily climate data
|
|
4
4
|
|
|
5
|
-
Access climatological data as provided by the
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Access climatological data as provided by the Royal Netherlands Meteorological Institute through the http get form.
|
|
6
|
+
http://www.knmi.nl/climatology/daily_data/getdata_day.cgi
|
|
7
|
+
|
|
8
|
+
Please Note the disclaimer included in the header!
|
|
9
|
+
# DEZE GEGEVENS MOGEN VRIJ WORDEN GEBRUIKT MITS DE VOLGENDE BRONVERMELDING WORDT GEGEVEN:
|
|
10
|
+
# KONINKLIJK NEDERLANDS METEOROLOGISCH INSTITUUT (KNMI)
|
|
11
|
+
#
|
|
12
|
+
# THESE DATA CAN BE USED FREELY PROVIDED THAT THE FOLLOWING SOURCE IS ACKNOWLEDGED:
|
|
13
|
+
# ROYAL NETHERLANDS METEOROLOGICAL INSTITUTE
|
|
14
|
+
|
|
15
|
+
* Details about data here
|
|
16
|
+
http://www.knmi.nl/climatology/daily_data/scriptxs-en.html)
|
|
17
|
+
* Station list here
|
|
18
|
+
http://www.knmi.nl/climatology/daily_data/scriptxs-en.html
|
|
19
|
+
* data is parsed into a array of hashes with keys for each element
|
|
20
|
+
{ [ "STN" => 210, "YYYMMDD" => 20110427, "TG" => 25 ] }
|
|
9
21
|
|
|
10
22
|
= Installation
|
|
11
23
|
gem install knmi
|
|
@@ -59,6 +71,6 @@ convenience function for writing response array to a csv
|
|
|
59
71
|
|
|
60
72
|
== Copyright
|
|
61
73
|
|
|
62
|
-
Copyright (c) 2011
|
|
74
|
+
Copyright (c) 2011 Patrick Galvin Schmitz p.schmitz@gmail.com. See LICENSE.txt for
|
|
63
75
|
further details.
|
|
64
76
|
|
data/Rakefile
CHANGED
|
@@ -15,11 +15,7 @@ Jeweler::Tasks.new do |gem|
|
|
|
15
15
|
gem.name = "knmi"
|
|
16
16
|
gem.homepage = "http://github.com/bullfight/knmi"
|
|
17
17
|
gem.license = "MIT"
|
|
18
|
-
gem.summary = %Q{Ruby API to access
|
|
19
|
-
gem.description = %Q{Access climatalogical data as provided by the ROYAL NETHERLANDS METEOROLOGICAL INSTITUTE
|
|
20
|
-
through their http get form details of data here (http://www.knmi.nl/climatology/daily_data/scriptxs-en.html) and
|
|
21
|
-
station list here http://www.knmi.nl/climatology/daily_data/scriptxs-en.html, data is parsed into a array of hashes
|
|
22
|
-
with keys for each element { [ "STN" => 210, "YYYMMDD" => 20110427, "TG" => 25 ] } }
|
|
18
|
+
gem.summary = %Q{Ruby API to access daily climate data from the Royal Netherlands Meteorological Institute }
|
|
23
19
|
gem.email = "p.schmitz@gmail.com"
|
|
24
20
|
gem.authors = ["bullfight"]
|
|
25
21
|
gem.add_runtime_dependency 'httparty', '>= 0.7.4'
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/knmi.gemspec
CHANGED
|
@@ -5,15 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{knmi}
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["bullfight"]
|
|
12
|
-
s.date = %q{2011-04-
|
|
13
|
-
s.description = %q{Access climatalogical data as provided by the ROYAL NETHERLANDS METEOROLOGICAL INSTITUTE
|
|
14
|
-
through their http get form details of data here (http://www.knmi.nl/climatology/daily_data/scriptxs-en.html) and
|
|
15
|
-
station list here http://www.knmi.nl/climatology/daily_data/scriptxs-en.html, data is parsed into a array of hashes
|
|
16
|
-
with keys for each element { [ "STN" => 210, "YYYMMDD" => 20110427, "TG" => 25 ] } }
|
|
12
|
+
s.date = %q{2011-04-28}
|
|
17
13
|
s.email = %q{p.schmitz@gmail.com}
|
|
18
14
|
s.extra_rdoc_files = [
|
|
19
15
|
"LICENSE.txt",
|
|
@@ -36,7 +32,7 @@ Gem::Specification.new do |s|
|
|
|
36
32
|
s.licenses = ["MIT"]
|
|
37
33
|
s.require_paths = ["lib"]
|
|
38
34
|
s.rubygems_version = %q{1.7.2}
|
|
39
|
-
s.summary = %q{Ruby API to access
|
|
35
|
+
s.summary = %q{Ruby API to access daily climate data from the Royal Netherlands Meteorological Institute}
|
|
40
36
|
s.test_files = [
|
|
41
37
|
"test/helper.rb",
|
|
42
38
|
"test/test_knmi.rb"
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: knmi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.1.
|
|
5
|
+
version: 0.1.2
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- bullfight
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-04-
|
|
13
|
+
date: 2011-04-28 00:00:00 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: shoulda
|
|
@@ -67,7 +67,7 @@ dependencies:
|
|
|
67
67
|
type: :runtime
|
|
68
68
|
prerelease: false
|
|
69
69
|
version_requirements: *id005
|
|
70
|
-
description:
|
|
70
|
+
description:
|
|
71
71
|
email: p.schmitz@gmail.com
|
|
72
72
|
executables: []
|
|
73
73
|
|
|
@@ -101,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
101
101
|
requirements:
|
|
102
102
|
- - ">="
|
|
103
103
|
- !ruby/object:Gem::Version
|
|
104
|
-
hash:
|
|
104
|
+
hash: -2570505313395176391
|
|
105
105
|
segments:
|
|
106
106
|
- 0
|
|
107
107
|
version: "0"
|
|
@@ -117,7 +117,7 @@ rubyforge_project:
|
|
|
117
117
|
rubygems_version: 1.7.2
|
|
118
118
|
signing_key:
|
|
119
119
|
specification_version: 3
|
|
120
|
-
summary: Ruby API to access
|
|
120
|
+
summary: Ruby API to access daily climate data from the Royal Netherlands Meteorological Institute
|
|
121
121
|
test_files:
|
|
122
122
|
- test/helper.rb
|
|
123
123
|
- test/test_knmi.rb
|