cdo 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/gemspec +1 -1
- data/lib/cdo.rb +3 -4
- metadata +2 -2
data/gemspec
CHANGED
@@ -4,7 +4,7 @@ require 'cdo'
|
|
4
4
|
|
5
5
|
spec = Gem::Specification.new do |s|
|
6
6
|
s.name = "cdo"
|
7
|
-
s.version =
|
7
|
+
s.version = '1.0.9'
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.files = ["lib/cdo.rb"] + ["gemspec","COPYING","README.rdoc","ChangeLog"]
|
10
10
|
s.test_file = "test/test_cdo.rb"
|
data/lib/cdo.rb
CHANGED
@@ -71,8 +71,7 @@ module Cdo
|
|
71
71
|
cmd << "#{ofile}"
|
72
72
|
call(cmd)
|
73
73
|
if returnArray or State[:returnArray]
|
74
|
-
Cdo.
|
75
|
-
return NetCDF.open(ofile)
|
74
|
+
Cdo.readCdf(ofile)
|
76
75
|
else
|
77
76
|
return ofile
|
78
77
|
end
|
@@ -126,7 +125,7 @@ module Cdo
|
|
126
125
|
State[:debug]
|
127
126
|
end
|
128
127
|
def Cdo.version
|
129
|
-
"1.0.
|
128
|
+
"1.0.9"
|
130
129
|
end
|
131
130
|
def Cdo.setReturnArray(value=true)
|
132
131
|
if value
|
@@ -196,7 +195,7 @@ module Cdo
|
|
196
195
|
|
197
196
|
def Cdo.readCdf(iFile)
|
198
197
|
Cdo.loadCdf unless State[:returnArray]
|
199
|
-
|
198
|
+
NetCDF.open(iFile)
|
200
199
|
end
|
201
200
|
end
|
202
201
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cdo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Easy access to the Climate Data operators
|
15
15
|
email: stark.dreamdetective@gmail.com
|