gs2crmod 0.11.40 → 0.11.41
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 +3 -3
- 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: 2485952c9fd5ce2f24643f82eca1e06f1ff1a0d4
|
|
4
|
+
data.tar.gz: ea870f6f032d63e5c1628f39720b47b67059eede
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f93422f4fa968740a2af38967dd0bc9761ad0db8482dd963344e1e179908555a26d3106b8ea3530626656b5ee9e9c40254a9c226cf02199fcbafcd475b5238b1
|
|
7
|
+
data.tar.gz: b7c7dfe02270426ab537a8e89e030916c7d98689c50969a6eeafced53a7ea70f227045f3d90ede58e51bcca7cccef26d64f2fe38f3245d2d8e5805d3205507e6
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.11.
|
|
1
|
+
0.11.41
|
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.41 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.41"
|
|
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
|
@@ -208,7 +208,7 @@ def hyperviscosity_graphkit(options)
|
|
|
208
208
|
for il in 0...shape[3]
|
|
209
209
|
for ie in 0...shape[4]
|
|
210
210
|
for is in 0...shape[5]
|
|
211
|
-
narray[ig,ik,
|
|
211
|
+
narray[ig,it,ik,il,ie,is]*=(ky[ik]**2.0 + kx[it]**2.0)**(2*@nexp)*@d_hypervisc
|
|
212
212
|
end
|
|
213
213
|
end
|
|
214
214
|
end
|
|
@@ -234,7 +234,7 @@ def hypercoll_graphkit(options)
|
|
|
234
234
|
for il in 0...shape[3]
|
|
235
235
|
for ie in 0...shape[4]
|
|
236
236
|
for is in 0...shape[5]
|
|
237
|
-
narray[ig,ik,
|
|
237
|
+
narray[ig,it,ik,il,ie,is]*=send(:nu_h_ + (is+1).to_sym)*(il.to_f/(shape[3]-1))**send(:nexp_h_ + (is+1).to_sym)
|
|
238
238
|
end
|
|
239
239
|
end
|
|
240
240
|
end
|
|
@@ -259,7 +259,7 @@ def lenardbern_graphkit(options)
|
|
|
259
259
|
for il in 0...shape[3]
|
|
260
260
|
for ie in 0...shape[4]
|
|
261
261
|
for is in 0...shape[5]
|
|
262
|
-
narray[ig,ik,
|
|
262
|
+
narray[ig,it,ik,il,ie,is]*=send(:nu_ + (is+1).to_sym)*il
|
|
263
263
|
end
|
|
264
264
|
end
|
|
265
265
|
end
|