netcdf-nmatrix 0.8.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.
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,120 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: netcdf-nmatrix
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.0
5
+ platform: ruby
6
+ authors:
7
+ - Takeshi Horinouchi
8
+ - Tsuyoshi Koshiro
9
+ - Shigenori Otsuka
10
+ - Seiya Nishizawa
11
+ - T Sakakima
12
+ - Edmund Highcock
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+ date: 2016-05-13 00:00:00.000000000 Z
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: nmatrix
20
+ requirement: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: '0.2'
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '0.2'
32
+ description: A Ruby interface for reading and writing NetCDF files. NetCDF-NMatrix
33
+ is a rewrite of the previous ruby-netcdf gem which uses NMatrix instead of NArray,
34
+ and so is compatible with SciRuby.
35
+ email:
36
+ - edmundhighcock@users.sourceforge.net
37
+ executables: []
38
+ extensions:
39
+ - extconf.rb
40
+ extra_rdoc_files: []
41
+ files:
42
+ - ".gitignore"
43
+ - ChangeLog
44
+ - Gemfile
45
+ - INSTALL
46
+ - LICENSE.txt
47
+ - README.md
48
+ - Rakefile
49
+ - ToDo
50
+ - demo/README
51
+ - demo/demo1-create-alt.rb
52
+ - demo/demo1-create.rb
53
+ - demo/demo2-graphic.rb
54
+ - demo/demo3-ncepclim.rb
55
+ - demo/demo4-copy.rb
56
+ - doc/README_JP.txt
57
+ - doc/Ref_man.html
58
+ - doc/Ref_man.rd
59
+ - doc/Ref_man_jp.html
60
+ - doc/Ref_man_jp.rd
61
+ - doc/to_html
62
+ - extconf.rb
63
+ - lib/netcdf.rb
64
+ - lib/netcdf_miss.rb
65
+ - lib/version.rb
66
+ - netcdfraw.c
67
+ - ruby-netcdf.gemspec
68
+ - test/aref_aset.rb
69
+ - test/char_var.rb
70
+ - test/clone.rb
71
+ - test/create_tmp.rb
72
+ - test/def_var_with_dim.rb
73
+ - test/factor_offset.rb
74
+ - test/putatt.cdl
75
+ - test/putatt.rb
76
+ - test/test.cdl
77
+ - test/test.rb
78
+ - test/type.rb
79
+ homepage: https://github.com/edmundhighcock/ruby-netcdf
80
+ licenses:
81
+ - GFD Dennou Club
82
+ metadata: {}
83
+ post_install_message:
84
+ rdoc_options: []
85
+ require_paths:
86
+ - lib
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '1.6'
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ requirements: []
98
+ rubyforge_project:
99
+ rubygems_version: 2.5.1
100
+ signing_key:
101
+ specification_version: 4
102
+ summary: Ruby interface to NetCDF which uses NMatrix
103
+ test_files:
104
+ - demo/README
105
+ - demo/demo1-create-alt.rb
106
+ - demo/demo1-create.rb
107
+ - demo/demo2-graphic.rb
108
+ - demo/demo3-ncepclim.rb
109
+ - demo/demo4-copy.rb
110
+ - test/aref_aset.rb
111
+ - test/char_var.rb
112
+ - test/clone.rb
113
+ - test/create_tmp.rb
114
+ - test/def_var_with_dim.rb
115
+ - test/factor_offset.rb
116
+ - test/putatt.cdl
117
+ - test/putatt.rb
118
+ - test/test.cdl
119
+ - test/test.rb
120
+ - test/type.rb