ruby-netcdf 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
data/test/type.rb ADDED
@@ -0,0 +1,13 @@
1
+ require 'numru/netcdf'
2
+ include NumRu
3
+ s = 'tmp.nc'
4
+ f = NetCDF.create(s)
5
+ d = f.def_dim('x',2)
6
+ v = f.def_var('x','sfloat',[d])
7
+ p v.vartype, v.ntype
8
+ v = f.def_var('x1','sint',[d])
9
+ p v.vartype, v.ntype
10
+ v = f.def_var('x2','byte',[d])
11
+ p v.vartype, v.ntype
12
+
13
+ f.close
metadata ADDED
@@ -0,0 +1,140 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby-netcdf
3
+ version: !ruby/object:Gem::Version
4
+ hash: 13
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 6
9
+ - 5
10
+ version: 0.6.5
11
+ platform: ruby
12
+ authors:
13
+ - T. Horinouchi
14
+ - T. Sakakima
15
+ - GFD Dennou Club
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+
20
+ date: 2011-03-08 00:00:00 +09:00
21
+ default_executable:
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
24
+ name: narray
25
+ prerelease: false
26
+ requirement: &id001 !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ hash: 3
32
+ segments:
33
+ - 0
34
+ version: "0"
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: narray_miss
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
48
+ version: "0"
49
+ type: :runtime
50
+ version_requirements: *id002
51
+ description: RubyNetCDF is the Ruby interface to the NetCDF library built on the NArray library, which is an efficient multi-dimensional numeric array class for Ruby.
52
+ email: eriko@gfd-dennou.org
53
+ executables: []
54
+
55
+ extensions:
56
+ - extconf.rb
57
+ extra_rdoc_files: []
58
+
59
+ files:
60
+ - INSTALL
61
+ - LICENSE.txt
62
+ - ChangeLog
63
+ - netcdfraw.c
64
+ - Rakefile
65
+ - extconf.rb.rej
66
+ - extconf.rb.orig
67
+ - extconf.rb
68
+ - ToDo
69
+ - lib/netcdf.rb
70
+ - lib/netcdf_miss.rb
71
+ - demo/demo2-graphic.rb
72
+ - demo/demo4-copy.rb
73
+ - demo/demo1-create-alt.rb
74
+ - demo/README
75
+ - demo/demo1-create.rb
76
+ - demo/demo3-ncepclim.rb
77
+ - doc/Ref_man_jp.html
78
+ - doc/to_html
79
+ - doc/Ref_man.html
80
+ - doc/Ref_man.rd
81
+ - doc/Ref_man_jp.rd
82
+ - doc/README_JP.txt
83
+ - test/def_var_with_dim.rb
84
+ - test/putatt.rb
85
+ - test/type.rb
86
+ - test/test.cdl
87
+ - test/char_var.rb
88
+ - test/test.rb
89
+ - test/putatt.cdl
90
+ - test/aref_aset.rb
91
+ - test/clone.rb
92
+ - test/factor_offset.rb
93
+ - test/create_tmp.rb
94
+ has_rdoc: true
95
+ homepage: http://www.gfd-dennou.org/arch/ruby/products/ruby-netcdf/
96
+ licenses:
97
+ - GFD Dennou Club
98
+ post_install_message:
99
+ rdoc_options: []
100
+
101
+ require_paths:
102
+ - lib
103
+ required_ruby_version: !ruby/object:Gem::Requirement
104
+ none: false
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ hash: 3
109
+ segments:
110
+ - 1
111
+ - 6
112
+ version: "1.6"
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ hash: 3
119
+ segments:
120
+ - 0
121
+ version: "0"
122
+ requirements: []
123
+
124
+ rubyforge_project:
125
+ rubygems_version: 1.4.1
126
+ signing_key:
127
+ specification_version: 3
128
+ summary: Ruby interface to NetCDF
129
+ test_files:
130
+ - test/def_var_with_dim.rb
131
+ - test/putatt.rb
132
+ - test/type.rb
133
+ - test/test.cdl
134
+ - test/char_var.rb
135
+ - test/test.rb
136
+ - test/putatt.cdl
137
+ - test/aref_aset.rb
138
+ - test/clone.rb
139
+ - test/factor_offset.rb
140
+ - test/create_tmp.rb