agroclimatology 0.2.0 → 0.3.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67a1d196fe995c26ea25be5a2690bd7e7d219a1f
4
- data.tar.gz: c8a8c65d62236cfa72a7b8138de5b745e7f6baca
3
+ metadata.gz: d72a0ebe4e9ff3716e6e0b13b3e0faee8ef486a7
4
+ data.tar.gz: 471f62eab6082332e96a59e51607ceede40b13c8
5
5
  SHA512:
6
- metadata.gz: 5cbfd885da778503f479caecfee920a635cb81872a07b3d0060da6962c239473f6e5ed736242250f2c6fdfeec1911997c0f1dd572c0fa95eb7659477556a754e
7
- data.tar.gz: 19a681c22a9006be01fffea90b51d700cd99ff5040131cba03a620728ba1a46420e1a3fa4075eabe26067db40c03c13c95a7e1c420b1c1bacd8a245a936a70a5
6
+ metadata.gz: 84838700d023860c35e31fd115cd6658b9f7221ac0ef09952a1da4a0ef40bbb8d8f5b0716edd8e9737c0238a8450381afa2d0e2e40076351877cd3956f827854
7
+ data.tar.gz: df879cf2c0711afa55618edb9e8a24c61b2da42396df26fc58993a522da0409447bcf76e4dcbcd879c2ab0f1f6dfb5a17f61a64c8de594bfa3daa225d46bf7e5
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Agroclimatology
2
2
  [![Gem Version](https://badge.fury.io/rb/agroclimatology.svg)](https://badge.fury.io/rb/agroclimatology)
3
- [![Build Status](https://travis-ci.org/brycejohnston/agroclimatology.svg?branch=master)](https://travis-ci.org/brycejohnston/agroclimatology)
3
+ [![Build Status](https://travis-ci.org/agruby/agroclimatology.svg?branch=master)](https://travis-ci.org/agruby/agroclimatology)
4
4
 
5
5
  Ruby client for interacting with the [NASA (POWER) Agroclimatology Web Resource](http://power.larc.nasa.gov/cgi-bin/agro.cgi)
6
6
 
@@ -49,11 +49,33 @@ Fetch solar radiation data for Woombye, QLD, Australia from 2015 - 2016
49
49
  Agroclimatology.fetch(-26.660446, 152.964647, 2015, 2016)
50
50
  ```
51
51
 
52
+ ```json
53
+ [
54
+ {
55
+ ":year":"2015",
56
+ ":day_of_year":"1",
57
+ ":rad_atmosphere":"42.84",
58
+ ":rad_surface":"27.47",
59
+ ":rad_flux":"34.78"
60
+ },
61
+ {
62
+ ":year":"2015",
63
+ ":day_of_year":"2",
64
+ ":rad_atmosphere":"43.27",
65
+ ":rad_surface":"23.00",
66
+ ":rad_flux":"34.81"
67
+ },
68
+ {
69
+ etc...
70
+ },
71
+ ]
72
+ ```
73
+
52
74
  ### Output
53
75
 
54
76
  Returns JSON output containing records for every day included in year_start - year_end range
55
77
  - **year** - Year
56
- - **day** - Day of Year
78
+ - **day_of_year** - Day of Year
57
79
  - **rad_atmosphere** - Average Top-of-atmosphere Insolation (MJ/m^2/day)
58
80
  - **rad_surface** - Average Insolation Incident On A Horizontal Surface (MJ/m^2/day)
59
81
  - **rad_flux** - Average Downward Longwave Radiative Flux (MJ/m^2/day)
@@ -64,7 +86,7 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
64
86
 
65
87
  ## Contributing
66
88
 
67
- Bug reports and pull requests are welcome on GitHub at https://github.com/brycejohnston/agroclimatology.
89
+ Bug reports and pull requests are welcome on GitHub at https://github.com/agruby/agroclimatology.
68
90
 
69
91
  ## License
70
92
 
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["johnstonbrc@gmail.com"]
11
11
  spec.summary = %q{Ruby client for interacting with the NASA (POWER) Agroclimatology Web Resource}
12
12
  spec.description = %q{Ruby client for interacting with the NASA (POWER) Agroclimatology Web Resource}
13
- spec.homepage = "https://github.com/brycejohnston/agroclimatology"
13
+ spec.homepage = "https://github.com/agruby/agroclimatology"
14
14
  spec.license = "MIT"
15
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
16
  spec.bindir = "exe"
@@ -1,3 +1,3 @@
1
1
  module Agroclimatology
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -1,5 +1,4 @@
1
1
  require "agroclimatology/version"
2
- require "csv"
3
2
  require "httparty"
4
3
  require "oj"
5
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agroclimatology
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryce Johnston
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-19 00:00:00.000000000 Z
11
+ date: 2016-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -100,7 +100,7 @@ files:
100
100
  - bin/setup
101
101
  - lib/agroclimatology.rb
102
102
  - lib/agroclimatology/version.rb
103
- homepage: https://github.com/brycejohnston/agroclimatology
103
+ homepage: https://github.com/agruby/agroclimatology
104
104
  licenses:
105
105
  - MIT
106
106
  metadata: {}
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.5.1
123
+ rubygems_version: 2.6.4
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Ruby client for interacting with the NASA (POWER) Agroclimatology Web Resource