gs2crmod 0.11.39 → 0.11.40
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 +4 -4
- data/VERSION +1 -1
- data/gs2crmod.gemspec +2 -2
- data/lib/gs2crmod/read_netcdf.rb +7 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01f948306105fd9c2346c97032dd13cde4756b79
|
|
4
|
+
data.tar.gz: 2b98dcc831962b18a47678488311c5780587bc9d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e216085439a2c81663ceb09add3f354aec098d1067c0af44a6763657cee16359a11e1000a7b3883a9a00795a9c03f0d6fca13d05ae7bc9f57c5fe841e0b389a2
|
|
7
|
+
data.tar.gz: 3e94716bd3b78d70a81b8756ff1d6b6a6f091ef70c0c47846826dc11390366d6a4d7d0a4eeb0cf68efb798a6db4e24ebf9ff3d6657f3df33460c2cfd38d86766
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.11.
|
|
1
|
+
0.11.40
|
data/gs2crmod.gemspec
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: gs2crmod 0.11.
|
|
5
|
+
# stub: gs2crmod 0.11.40 ruby lib
|
|
6
6
|
# stub: ext/extconf.rb
|
|
7
7
|
|
|
8
8
|
Gem::Specification.new do |s|
|
|
9
9
|
s.name = "gs2crmod"
|
|
10
|
-
s.version = "0.11.
|
|
10
|
+
s.version = "0.11.40"
|
|
11
11
|
|
|
12
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
13
13
|
s.require_paths = ["lib"]
|
data/lib/gs2crmod/read_netcdf.rb
CHANGED
|
@@ -139,6 +139,7 @@ class NetcdfSmartReader
|
|
|
139
139
|
axiskits.each_with_index{|ax, i| hash[axes[i]] = ax}
|
|
140
140
|
kit = GraphKit.autocreate(hash)
|
|
141
141
|
opts = options.dup
|
|
142
|
+
opts.delete(:modify_variable)
|
|
142
143
|
opts.delete(:graphkit_name)
|
|
143
144
|
#kit.data[0].title += " with options: " + opts.to_s
|
|
144
145
|
kit.data[0].title += " " + opts.to_s.gsub(/_(index|element)/, '')
|
|
@@ -202,8 +203,8 @@ def hyperviscosity_graphkit(options)
|
|
|
202
203
|
if varname == "gnew2_ta"
|
|
203
204
|
shape = narray.shape
|
|
204
205
|
for ig in 0...shape[0]
|
|
205
|
-
for
|
|
206
|
-
for
|
|
206
|
+
for it in 0...shape[1]
|
|
207
|
+
for ik in 0...shape[2]
|
|
207
208
|
for il in 0...shape[3]
|
|
208
209
|
for ie in 0...shape[4]
|
|
209
210
|
for is in 0...shape[5]
|
|
@@ -228,8 +229,8 @@ def hypercoll_graphkit(options)
|
|
|
228
229
|
shape = narray.shape
|
|
229
230
|
p 'shape',shape
|
|
230
231
|
for ig in 0...shape[0]
|
|
231
|
-
for
|
|
232
|
-
for
|
|
232
|
+
for it in 0...shape[1]
|
|
233
|
+
for ik in 0...shape[2]
|
|
233
234
|
for il in 0...shape[3]
|
|
234
235
|
for ie in 0...shape[4]
|
|
235
236
|
for is in 0...shape[5]
|
|
@@ -253,8 +254,8 @@ def lenardbern_graphkit(options)
|
|
|
253
254
|
if varname == "gnew2_ta"
|
|
254
255
|
shape = narray.shape
|
|
255
256
|
for ig in 0...shape[0]
|
|
256
|
-
for
|
|
257
|
-
for
|
|
257
|
+
for it in 0...shape[1]
|
|
258
|
+
for ik in 0...shape[2]
|
|
258
259
|
for il in 0...shape[3]
|
|
259
260
|
for ie in 0...shape[4]
|
|
260
261
|
for is in 0...shape[5]
|