ruby-netcdf 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,8 +1,190 @@
1
- Tue Jan 27 2015 T Horinouchi
2
- * ruby-netcdf-0.7.1 released (relase tag: ruby-netcdf-0_7_1)
3
- Tue Jan 27 2015 T Horinouchi
1
+ 2022-03-21 Takeshi Horinouchi (HEAD -> master)
2
+ version number updated to 0.8.0
3
+
4
+ M lib/numru/netcdf/version.rb
5
+
6
+ 2022-03-21 Takeshi Horinouchi
7
+ LICENSE text updated
8
+
9
+ M LICENSE.txt
10
+
11
+ 2022-03-21 Takeshi Horinouchi
12
+ Merge remote-tracking branch 'origin/rewrite_test_use_unit-test'
13
+
14
+ 2022-03-21 Takeshi Horinouchi
15
+ Merge remote-tracking branch 'origin/Fix_Obsolete_rb_secure'
16
+
17
+ 2022-03-21 Takeshi Horinouchi
18
+ Revert "Fixnum -> Integer"
19
+
20
+ This reverts commit 2c2fd995df1865e6f521679aeca746385203a42f.
21
+
22
+ M lib/numru/netcdf.rb
23
+
24
+ 2021-05-22 Takeshi Horinouchi (origin/master, origin/HEAD)
25
+ Fixnum -> Integer
26
+
27
+ M lib/numru/netcdf.rb
28
+
29
+ 2020-05-21 Youhei SASAKI (origin/rewrite_test_use_unit-test)
30
+ Rewrite test: use Test::Unit
31
+
32
+ Rewrite test using Test::Unit
33
+
34
+ Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
35
+
36
+ M ruby-netcdf-bigmem.gemspec
37
+ M ruby-netcdf.gemspec
38
+ M test/aref_aset.rb
39
+ M test/char_var.rb
40
+ M test/clone.rb
41
+ M test/create_tmp.rb
42
+ M test/def_var_with_dim.rb
43
+ M test/factor_offset.rb
44
+ M test/putatt.rb
45
+ M test/test.rb
46
+ M test/type.rb
47
+
48
+ 2020-05-21 Youhei SASAKI (origin/Fix_Obsolete_rb_secure, Fix_Obsolete_rb_secure)
49
+ Drop obsolete rb_secure, rb_safe_level
50
+
51
+ Ref.
52
+ - https://tmtms.hatenablog.com/entry/201912/ruby27-misc2
53
+ - https://bugs.ruby-lang.org/issues/15344
54
+
55
+ Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
56
+
57
+ M ext/numru/netcdfraw.c
58
+ M lib/numru/netcdf.rb
59
+
60
+ 2016-09-27 Takeshi Horinouchi (tag: v0.7.2)
61
+ Commented out the gemspec file for the bibmem version
62
+
63
+ M Rakefile
64
+
65
+ 2015-06-09 Takeshi Horinouchi
66
+ corrected the previous commit
67
+
68
+ M lib/numru/netcdf.rb
69
+
70
+ 2015-06-09 Takeshi Horinouchi
71
+ Increased the supprted argument value by NetCDF.creation_format (NC_FORMAT_*)
72
+
73
+ M lib/numru/netcdf.rb
74
+
75
+ 2015-06-09 Takeshi Horinouchi
76
+ Added a method NetCDF#format (for NetCDF-4) and related constants NC_FORMAT_CLASSIC etc
77
+
78
+ M ext/numru/netcdfraw.c
79
+
80
+ 2015-05-21 Takeshi Horinouchi
81
+ Deleted ".alpha" from VERSION (since gem did not solve the dependency when I tried to install gphys)
82
+
83
+ M lib/numru/netcdf/version.rb
84
+
85
+ 2015-05-21 Takeshi Horinouchi
86
+ Created a gemspec to depend on narray-bigmem
87
+
88
+ M Rakefile
89
+ M ext/numru/extconf.rb
90
+ A ruby-netcdf-bigmem.gemspec
91
+
92
+ 2015-04-02 Takeshi Horinouchi (origin/rubygems, rubygems)
93
+ changed to require 'numru/netcdf/version'
94
+
95
+ M Rakefile
96
+ M ruby-netcdf.gemspec
97
+
98
+ 2015-04-02 Takeshi Horinouchi
99
+ changed to require 'numru/netcdf/version'
100
+
101
+ M lib/numru/netcdf.rb
102
+
103
+ 2015-04-02 Takeshi Horinouchi
104
+ Created the version.rb file
105
+
106
+ A lib/numru/netcdf/version.rb
107
+
108
+ 2015-03-30 Eriko Nishimoto
109
+ Modified test.rb
110
+
111
+ Corrected require libraries
112
+
113
+ M test/test.rb
114
+
115
+ 2015-03-30 Eriko Nishimoto
116
+ Corrected require_paths
117
+
118
+ M ruby-netcdf.gemspec
119
+
120
+ 2015-03-30 Eriko Nishimoto
121
+ Modified git ignore list
122
+
123
+ Added "tmp" and "pkg" folders to the list
124
+
125
+ M .gitignore
126
+
127
+ 2015-03-30 Eriko Nishimoto
128
+ Corrected typo
129
+
130
+ M Rakefile
131
+ M ruby-netcdf.gemspec
132
+
133
+ 2015-03-30 Eriko Nishimoto
134
+ Added VERSION number
135
+
136
+ M lib/numru/netcdf.rb
137
+
138
+ 2015-03-30 Eriko Nishimoto
139
+ Changed folder structure under lib
140
+
141
+ R100 lib/netcdf.rb lib/numru/netcdf.rb
142
+ R100 lib/netcdf_miss.rb lib/numru/netcdf_miss.rb
143
+
144
+ 2015-03-30 Eriko Nishimoto
145
+ Moved extentional files to ext/numru
146
+
147
+ R100 extconf.rb ext/numru/extconf.rb
148
+ R100 netcdfraw.c ext/numru/netcdfraw.c
149
+
150
+ 2015-03-30 Eriko Nishimoto
151
+ Added setting files for rubygems
152
+
153
+ A Gemfile
154
+ A Rakefile
155
+ A ruby-netcdf.gemspec
156
+
157
+ 2015-03-30 Takeshi Horinouchi
158
+ Renamed the current ChangeLog to back up.
159
+
160
+ R100 ChangeLog .ChangeLog.until20150117
161
+
162
+ 2015-03-30 Takeshi Horinouchi
163
+ Registered files (patterns) to ignore in the repository
164
+
165
+ A .gitignore
166
+
167
+ 2015-01-27 Takeshi Horinouchi (tag: ruby-netcdf-0_7_1)
168
+ Updated. ruby-netcdf-0.7.1 to be released.
169
+
170
+ M ChangeLog
171
+
172
+ 2015-01-27 Takeshi Horinouchi
4
173
  * doc/ updated
174
+
175
+ M doc/Ref_man.html
176
+ M doc/Ref_man.rd
177
+ M doc/Ref_man_jp.html
178
+ M doc/Ref_man_jp.rd
179
+ M doc/to_html
180
+
181
+ 2015-01-27 Takeshi Horinouchi
5
182
  * demo/demo5-netcdf4.rb: created
183
+
184
+ A demo/demo5-netcdf4.rb
185
+
186
+ 2015-01-27 Takeshi Horinouchi
187
+ Tue Jan 27 2015 T Horinouchi
6
188
  * netcdfraw.c:
7
189
  * added new NetCDF-4 methods:
8
190
  * NetCDFVar::deflate : to set compression
@@ -14,32 +196,112 @@ Tue Jan 27 2015 T Horinouchi
14
196
  NC_ENDIAN_LITTLE (=1), NC_ENDIAN_BIG (=2)
15
197
  * updated the safe-level condition, which was missed in the
16
198
  change on Jan 22.
17
- Fri Jan 23 2015 T Horinouchi
18
- * doc/ updated
199
+
200
+ M netcdfraw.c
201
+
202
+ 2015-01-23 Takeshi Horinouchi
203
+ corrected the charset setting
204
+
205
+ M doc/Ref_man_jp.html
206
+
207
+ 2015-01-23 Takeshi Horinouchi
208
+ further updated (a little)
209
+
210
+ M doc/Ref_man.html
211
+ M doc/Ref_man.rd
212
+ M doc/Ref_man_jp.html
213
+ M doc/Ref_man_jp.rd
214
+
215
+ 2015-01-23 Takeshi Horinouchi
216
+ Updated the reference manuals
217
+
218
+ M doc/Ref_man.html
219
+ M doc/Ref_man.rd
220
+ M doc/Ref_man_jp.html
221
+ M doc/Ref_man_jp.rd
222
+ M doc/to_html
223
+
224
+ 2015-01-22 Takeshi Horinouchi (tag: ruby-netcdf-0_7_0)
225
+ ChangeLog updated to release ruby-netcdf-0.7.0 (relase tag: ruby-netcdf-0_7_0)
226
+
227
+ M ChangeLog
228
+
229
+ 2015-01-22 Takeshi Horinouchi
230
+ extconf.rb: supported to configure gem-installed narray.
231
+ (also reverted the previous commit.)
232
+
233
+ M extconf.rb
234
+
235
+ 2015-01-22 Takeshi Horinouchi
236
+ * extconf.rb: deleted a reference to "/usr/local"
237
+
238
+ M ChangeLog
239
+ M extconf.rb
240
+
241
+ 2015-01-22 Takeshi Horinouchi
242
+ * lib/netcdf.rb: revised along the patch [dennou-ruby:003705].
243
+
244
+ M lib/netcdf.rb
245
+
246
+ 2015-01-22 Takeshi Horinouchi
247
+ Deleted an unused variable (nc_tlen) in many methods
248
+
249
+ M netcdfraw.c
250
+
251
+ 2015-01-22 Takeshi Horinouchi
252
+ * netcdfraw.c: further type update to na_shape_t (not covered
253
+ by the patch)
254
+
255
+ M netcdfraw.c
256
+
257
+ 2015-01-22 Takeshi Horinouchi
19
258
  Thu Jan 22 2015 T Horinouchi
20
- * ruby-netcdf-0.7.0 released (relase tag: ruby-netcdf-0_7_0)
259
+ * netcdfraw.c: changed rb_secure(4) to rb_secure(3), since security
260
+ level 4 is abolished in ruby 2.
261
+
262
+ M netcdfraw.c
263
+
264
+ 2015-01-22 Takeshi Horinouchi
21
265
  Thu Jan 22 2015 T Horinouchi
22
- * netcdfraw.c:
23
- * revised based on the patch posted by seiya with
24
- [dennou-ruby:003705] but adopted the typedef in the latest
25
- narray-bigmem (namely, used na_shape_t).
26
- * changed rb_secure(4) to rb_secure(3), since security
27
- level 4 is abolished in ruby 2.
28
- * further type update to na_shape_t (not covered
29
- by the patch)
30
- * deleted the unused variable nc_tlen in many methods.
31
- * lib/netcdf.rb: revised along the patch [dennou-ruby:003705].
32
- * extconf.rb: supported to configure gem-installed narray
266
+ * netcdfraw.c: revised based on the patch posted by seiya with
267
+ [dennou-ruby:003705] but adopted the typedef in the latest
268
+ narray-bigmem (namely, used na_shape_t).
269
+
270
+ M netcdfraw.c
271
+
272
+ 2014-09-08 Takeshi Horinouchi
33
273
  Mon Sep 8 2014 T Horinouchi
34
274
  * lib/netcdf.rb: Tentative treatment of the very slow netcdf-4's
35
275
  strided reading.
276
+
277
+ M ChangeLog
278
+ M lib/netcdf.rb
279
+
280
+ 2014-09-06 Takeshi Horinouchi
281
+
282
+ minor update
283
+
284
+ M extconf.rb
285
+
286
+ 2014-09-06 Takeshi Horinouchi
287
+ * lib/netcdf.rb: Refactoring of NetCDF#simple_get.
288
+
289
+ M ChangeLog
290
+ M lib/netcdf.rb
291
+
292
+ 2014-09-06 Takeshi Horinouchi
36
293
  Sat Sep 6 2014 T Horinouchi
37
294
  * netcdfraw.c: Added constants such as NC_NETCDF4;
38
295
  This enables one to individually specify the creation format by
39
296
  using the low level interface NetCDF.nc_create
40
297
  * lib/netcdf.rb: Supported the "default" file creation format
41
- by adding NetCDF.creation_format= and NetCDF.creation_format.
42
- * lib/netcdf.rb: Refactoring of NetCDF#simple_get.
298
+ by adding NetCDF.creation_format= and NetCDF.creation_format
299
+
300
+ M ChangeLog
301
+ M lib/netcdf.rb
302
+ M netcdfraw.c
303
+
304
+ 2014-09-06 Takeshi Horinouchi
43
305
  Sat Sep 6 2014 T Horinouchi
44
306
  * extconf.rb
45
307
  * introduced the macro NCVER
@@ -47,42 +309,99 @@ Sat Sep 6 2014 T Horinouchi
47
309
  * added $vendorarchdir to dir_config
48
310
  * netcdfraw.c: Added the class method NetCDF.libvers (<- nc_inq_libvers)
49
311
  * lib/netcdf.rb: Added the class constant NCVERSION (<- NetCDF.libvers)
312
+
313
+ M ChangeLog
314
+ M extconf.rb
315
+ M lib/netcdf.rb
316
+ M netcdfraw.c
317
+
318
+ 2014-08-25 Takeshi Horinouchi
50
319
  Mon Aug 25 2014 T Horinouchi
51
320
  * netcdfraw.c: to avoid a compile error when -Werror=format-security
321
+
322
+ M ChangeLog
323
+ M netcdfraw.c
324
+
325
+ 2012-02-19 Takeshi Horinouchi (tag: ruby-netcdf-0_6_6)
52
326
  Sun Feb 19 2011 T Horinouchi
53
327
  * ruby-netcdf-0.6.6 released (relase tag: ruby-netcdf-0_6_6)
54
- * lib/netcdf.rb: method pack: debug of enbug made
328
+
329
+ M ChangeLog
330
+
331
+ 2012-02-19 Takeshi Horinouchi
332
+ Sun Feb 19 2011 T Horinouchi
333
+ * lib/netcdf.rb: method pack: debug of enbug made
55
334
  when 1.1 -> 1.2 (cvs tag) commited in Jan 2010.
56
- * netcdfraw.c: Added macro NC_RAISE2. Enhanced error
335
+ * netcdfraw.c: Added macro NC_RAISE2. Enhanced error
57
336
  messaging in NetCDF_open and NetCDF_create to show file name.
58
337
 
338
+ M ChangeLog
339
+ M lib/netcdf.rb
340
+ M netcdfraw.c
341
+
342
+ 2011-02-17 Takeshi Horinouchi (tag: ruby-netcdf-0_6_5)
59
343
  Thu Feb 17 2011 T Horinouchi
60
344
  * ruby-netcdf-0.6.5 released (relase tag: ruby-netcdf-0_6_5)
345
+
346
+ M ChangeLog
347
+
348
+ 2011-02-17 Takeshi Horinouchi
61
349
  Thu Feb 17 2011 T Horinouchi
62
350
  * extconf.rb: Debug to have the --disable-opendap option really work
63
- Sat Feb 12 2011 T Horinouchi
351
+
352
+ M ChangeLog
353
+ M extconf.rb
354
+
355
+ 2011-02-12 Takeshi Horinouchi
64
356
  * ruby-netcdf-0.6.5 preview release.
357
+
358
+ M ChangeLog
359
+
360
+ 2010-12-22 Tsuyoshi Koshiro
65
361
  Thu Dec 23 2010 T Koshiro
66
- * test/aref_aset.rb : updated for Ruby 1.9.2
67
- * lib/netcdf.rb: NetCDF.clean_tmpfile : lambda -> proc
68
- * verified that all test programs work fine with Ruby 1.9.2.
362
+ * test/aref_aset.rb : updated for Ruby 1.9.2
363
+ * lib/netcdf.rb: NetCDF.clean_tmpfile : lambda -> proc
364
+ * verified that all test programs work fine with Ruby 1.9.2.
69
365
 
366
+ M ChangeLog
367
+ M lib/netcdf.rb
368
+ M test/aref_aset.rb
369
+
370
+ 2010-12-14 Tsuyoshi Koshiro
70
371
  Tue Dec 14 2010 T Koshiro
71
- * netcdfraw.c : nctype2natype : char* -> const char*
72
- * test/aref_aset.rb, test/factor_offset.rb : bug fix.
372
+ * netcdfraw.c : nctype2natype : char* -> const char*
373
+ * test/aref_aset.rb, test/factor_offset.rb : bug fix.
374
+
375
+ M ChangeLog
376
+ M netcdfraw.c
377
+ M test/aref_aset.rb
378
+ M test/factor_offset.rb
73
379
 
380
+ 2010-12-13 Tsuyoshi Koshiro
74
381
  Mon Dec 13 2010 T Koshiro
75
- * netcdfraw.c : patch for Ruby 1.9.2
76
- - by S Kouketsu (dennou-ruby:003191)
77
- - by T Koshiro (dennou-ruby:003226)
382
+ * netcdfraw.c : patch for Ruby 1.9.2
383
+ - by S Kouketsu (dennou-ruby:003191)
384
+ - by T Koshiro (dennou-ruby:003226)
78
385
 
386
+ M ChangeLog
387
+ M netcdfraw.c
388
+
389
+ 2010-03-15 Takeshi Horinouchi (tag: ruby-netcdf-0_6_4)
79
390
  Mon Mar 15 2010 T Horinouchi
80
391
  * ruby-netcdf-0.6.4 released (relase tag: ruby-netcdf-0_6_4)
81
392
 
393
+ M ChangeLog
394
+
395
+ 2010-01-14 Takeshi Horinouchi
82
396
  Thu Jan 14 2010 T Horinouchi < T Koshiro
83
397
  * netcdfraw.c : patch for Ruby 1.9.1 (dennou-ruby:003138)
84
398
  * extconf.rb : patch for NetCDF-4.1-beta2 (dcdvlop Nov 20, 2009)
85
399
 
400
+ M ChangeLog
401
+ M extconf.rb
402
+ M netcdfraw.c
403
+
404
+ 2010-01-14 Takeshi Horinouchi
86
405
  Fri Aug 15 2008 T Horinouchi
87
406
  * lib/netcdf_miss.rb: in __interpret_missing_params,
88
407
  changed just to warn, not to raise an exception,
@@ -91,357 +410,47 @@ Fri Aug 15 2008 T Horinouchi
91
410
  Thu Jul 17 2008 T Horinouchi
92
411
  * lib/netcdf.rb: NetCDFVar's private method pack : to take
93
412
  round if the type of self is integer.
94
- * lib/netcdf_miss.rb: debug in the handling of missing data
95
- specification using the external data type.
413
+ * lib/netcdf_miss.rb: debug in the handling of missing data
414
+ specification using the external data type.
96
415
  Wed Jul 16 2008 T Horinouchi < M Otsuka
97
- * netcdfraw.c : patch for Ruby 1.9
98
- Tue Dec 25 2007 T Horinouchi
99
- * ruby-netcdf-0.6.3 released
100
- * netcdfra.c : (kind of) bugfix. (default attribute type for
101
- Fixnum and Bignum was changed from NA_SINT to NA_LINT).
102
- * lib/netcdf_miss.rb: improved to judge missing_value validity
103
- considering its typecode.
104
- Thu Jun 30 2005
105
- * netcdf.rb: NetCDFVar#[] : debug for Array/NArray indices
106
- Thu Jun 23 2005 T Horinouchi < S Koshiro
107
- * ruby-netcdf-0.6.2 re-released (I am really sorry about that)
108
- * extconf.rb: updated to configure the prefix for DODS (useful if
109
- the DODS is installed in a non-standard path)
110
- Wed Jun 22 2005 T Horinouchi
111
- * ruby-netcdf-0.6.2 released
112
- * extconf.rb: updated to support opendap 3.5
113
- Fri May 13 2005 T Horinouchi
114
- * ruby-netcdf-0.6.1 released
115
- Mon Apr 11 2005 Takeshi Horinouchi
116
- * netcdfraw.c: changed global variables such as mNumRu to file locale.
117
- Tue Mar 15 2005 Takeshi Horinouchi
118
- * netcdfraw.c: debug: changed the type of c_stride from size_t to
119
- ptrdiff_t. Removed unsuned variables.
120
- Mon Mar 14 2005 Takeshi Horinouchi
121
- * ruby-netcdf-0.6.0 released
122
- * netcdfraw.c: NetCDF_get_var*_*: debug for rank-zero scalar
123
- NetCDFVar. It used to SEGV.
124
- NetCDF_get_var_*, which reads the whole variable,
125
- is modified to return in a NArray of shape==[1].
126
- On the other hand, subset reading by NetCDF_get_var[s1]_*
127
- is prohibited for rank-zero scalars by raising an exception.
128
- * lib/netcdf.rb: minor modification in [], to support its call
129
- without arguments of a rank-zero scalar.
130
- * netcdfraw.c: debug: changed size_t to int when NArray functions
131
- are called (for 64-bit machines).
132
- * extconf.rb: minor change in opendap configuration.
133
- Thu Mar 10 2005 Takeshi Horinouchi
134
- * extconf.rb: to link OPeNDAP/DODS-enabled version of NetCDF
135
- if available and if --disable-opendap is not specified.
136
- * lib/netcdf.rb: created pack and unpack by separating from
137
- scaled_put and scaled_get, respectvely. Changed type to
138
- unpack in to follow the coerce mechanism, so the upacked
139
- type depend on the type of scale_factor and add_offset.
140
- Renamed NetCDFVar.scaled_get_type[=] to NetCDFVar.unpack_type[=].
141
- * lib/netcdf_miss.rb: revised [put|get]_with_miss_and_scaling:
142
- Now, missing data handling using valid_* / missing_value is applied
143
- basically to packed data, which is consistent with most
144
- conventions. However, it is applied to unpacked data
145
- if and only if the type of valid_* / missing_value is not the same as
146
- the packed data and is the samed as the unpacked data.
147
- * doc/ Updated in response to the modification.
148
- Mon Jun 7 2004 Takeshi Horinouchi
149
- * ruby-netcdf-0.5.5 released
150
- Wed Apr 28 2004 Takeshi Horinouchi < S. Nishizawa
151
- * lib/netcdf.rb: minor debug in [](l.662) and []= (l.733 & l.736)
152
- to avoid error with NArrayMiss.
153
- Mon Mar 8 2004 Takeshi Horinouchi
154
- * ruby-netcdf-0.5.4 released
155
- * lib/netcdf.rb: created NetCDFVar.scaled_get_type= and
156
- NetCDFVar.scaled_get_type
157
- Mon Feb 23 2004 Takeshi Horinouchi
158
- * lib/netcdf_miss.rb: debug in __interpret_missing_params
159
- Tue Oct 28 2003 Takeshi Horinouchi
160
- * lib/netcdf.rb: support empty [], []=. Debug in []=.
161
- Fri Oct 2 2003 Takeshi Horinouchi
162
- * ruby-netcdf-0.5.3 released
163
- * lib/netcdf.rb: (by S Nishizawa) enhanced NetCDF#[]= to support
164
- array indices.
165
- * lib/netcdf.rb: supported the rubber dimension (=false) in
166
- NetCDF#[] and NetCDF#[]=.
167
- * doc/*rd: updated for NetCDF#[] and NetCDF#[]=
168
- * INSTALL: updated
169
- Thu Oct 2 2003 Takeshi Horinouchi < S Nishizawa
170
- * lib/netcdf.rb: enhanced NetCDF#[] to support array indices.
171
- Tue Sep 23 2003 Takeshi Horinouchi
172
- * extconf.rb: debug for windows (by T Koshiro)
173
- * lib/netcdf_miss.rb: debug get_with_miss_*
174
- Wed Aug 27 2003 Takeshi Horinouchi
175
- * ruby-netcdf-0.5.2 released
176
- * Verified that all test programs work fine with Ruby 1.8.0.
177
- * netcdfraw.c: functions NetCDF_dim, NetCDF_var (methods
178
- NetCDF#dim, NetCDF#var). Changed behavior back to return nil
179
- if not found (by name), as opposed to the change on Feb 3 2003.
180
- Debug NetCDF_att_rename (NetCDFAtt#name=).
181
- Init_netcdfraw: No longer asks whether NumRu has been
182
- defined -- ok for Ruby 1.6.5 or so or later
183
- * doc/Ref_man.rd,doc/Ref_man_jp.rd: updated for the changes above
184
- * test/test.rb updated for the debug of NetCDFAtt#name=.
185
- * lib/netcdf.rb: editted NetCDF#vars and NetCDF#dims not to change
186
- the behavior despite the change above. Corrected exception types
187
- to raise where needed.
188
- Tue Aug 19 2003 Takeshi Horinouchi
189
- * demo/demo4-copy.rb: created
190
- Tue Aug 12 2003 Takeshi Horinouchi
191
- * ruby-netcdf-0.5.1 released
192
- * extconf.rb: do not edit "install:" anymore (for Ruby 1.8; works
193
- with 1.6 too.) / Debug
194
- * doc/Ref_man.rd,doc/Ref_man_jp.rd: corrected a few typos.
195
-
196
- Tue Aug 12 2003 Takeshi Horinouchi
197
- * ruby-netcdf-0.5.0 released
198
- * lib/netcdf_miss.rb: created. handles data missing by NArrayMiss.
199
- * doc/Ref_man.rd,doc/Ref_man_jp.rd: updated.
200
-
201
- Mon Aug 11 2003 Takeshi Horinouchi
202
- * extconf.rb: modification to cover Cygwin
203
- * netcdfraw.c: extern -> EXTERN
204
- * lib/netcdf.rb: renamed get|put as simple_(get|put) and
205
- made get|put aliased to them. Changed scaled_(get|put)
206
- to depend on simple_(put|get). This is to allow the user
207
- to redefine get|put, if he/she likes, as:
208
- alias get scaled_get
209
- alias put scaled_put
210
- Or (by using singleton methods)
211
- def a_ncvar.get(*arg)
212
- scaled_get(*arg)
213
- end
214
- def a_ncvar.put(*arg)
215
- scaled_put(*arg)
216
- end
217
- Now these do not cause recurrence. By doing so, one can
218
- also change the behavior of [] and []=.
219
-
220
- Sat Mar 24 2003 Takeshi Horinouchi
221
- * ruby-netcdf-0.4.0 released
222
- Sat Mar 22 2003 Takeshi Horinouchi
223
- * lib/netcdf.rb: NetCDFVar#[]: behavior changed -- to eliminate the
224
- dimensions designated by Integer's (for better agreement with
225
- NArray#[])
226
- * doc/: correct the description of the IO mode for NetCDF.open
227
- Fri Mar 21 2003 Takeshi Horinouchi
228
- * ruby-netcdf-0.3.9 released
229
- Wed Mar 19 2003 Takeshi Horinouchi
230
- * netcdfraw.c: changed return values of NetCDF#redef and NetCDF#enddef
231
- (NetCDF_redef, NetCDF_enddef) --- return true if succesful and
232
- nil if not (the latter means that the file is already in
233
- define mode for redef and that it is already in the data mode
234
- for enddef). Previously, these methods always retuned nil.
235
- * doc/: updated
236
- * lib/netcdf.rb: DEBUG [] and []= : treatment of the end of ranges.
237
- Tue Mar 18 2003 Takeshi Horinouchi
238
- * netcdfraw.c: added NetCDF#define_mode?
239
- (NetCDF_whether_in_define_mode)
240
- Mon Mar 17 2003 Takeshi Horinouchi
241
- * ruby-netcdf-0.3.8 released
242
- * netcdfraw.c: deleted function NetCDF_put_var1_long, which was
243
- unnecessary (not called by anything).
244
- * netcdfraw.c: added methods NetCDFVar#typcode, NetCDFAtt#typcode
245
- (functions NetCDF_var_typecode, NetCDF_att_typecode)
246
- * netcdfraw.c: NetCDFVar#def_var(NetCDF_def_var) functionarity enhanced
247
- to accept NArray's typcodes to specifiy a variable type (vartye).
248
- * netcdfraw.c:put_var_*(NetCDF_put_var_*),put_vars_*(NetCDF_put_vars_*)
249
- functionality enhanced to accept scalar values to set uniform values
250
- * lib/netcdf.rb alias rank ndims (in NetCDFVar)
251
- * doc/Ref_man* updated accordingly
252
- Fri Mar 14 2003 Takeshi Horinouchi
253
- * ruby-netcdf-0.3.7 released
254
- Mon Feb 5 2003 Takeshi Horinouchi
255
- * doc/Ref_man.rd,doc/Ref_man_jp.rd update (added [] and []= methods)
256
- Mon Feb 3 2003 Takeshi Horinouchi
257
- * netcdf.rb: added NetCDF#dims, NetCDF#vars
258
- * netcdfraw.f: functions NetCDF_dim, NetCDF_var (methods
259
- NetCDF#dim, NetCDF#var). Changed behavior to raise exception
260
- if not found (by name).
261
- Thu Jan 30 2003 Takeshi Horinouchi
262
- * ruby-netcdf-0.3.6 released
263
- * netcdfraw.c: debug NetCDF_free and NetCDF_close not to close
264
- a file that has already been closed
265
- * netcdfraw.c: debug nc_mark_obj -- incorrect typing (though in
266
- many cases innocuous)
267
- * demo/: deleted *_withAdvancedDCL.rb (obsolete)
268
-
269
- Tue Jun 11 2002 Takeshi Horinouchi
270
- * ruby-netcdf-0.3.5 released
271
- * netcdfraw.rb: eliminated references to char *na_typestring[]
272
- (to make the source compilable with narray-0.5.6p2)
273
- * lib/netcdf.rb: eliminated uri methods: this is for a future
274
- incorpolation of DODS
275
- * demo/demo[23]*:written to use RubyDCL directly instead of AdvancedDCL
276
-
277
- Tue Feb 26 2002 Takeshi Horinouchi
278
- * ruby-netcdf-0.3.4 released
279
-
280
- Sun Feb 24 2002 Takeshi Horinouchi
281
- * lib/netcdf.rb: NetCDF#open minor debug
282
-
283
- Thu Dec 27 2001 Takeshi Horinouchi
284
- * extconf.rb: corrected an error message
285
-
286
- Thu Dec 26 2001 Takeshi Horinouchi
287
- * ruby-netcdf-0.3.3 released
288
- * lib/netcdf.rb: changes are made to get around a bug in NArray.
289
- Should be re-changed to the original if the bug is fixed.
290
- (The changed pars are marked by "TEMPORARY CHANGE 2001/12/27" in
291
- the source code)
292
- * netcdfraw.c: debug NetCDF_get_vars_sint
293
- * doc/Ref_man*rd: added the usage section.
294
-
295
- Thu Dec 26 2001 Takeshi Horinouchi
296
- * ruby-netcdf-0.3.2 released
297
- * doc/Ref_man*rd: added a "Data Type" section. Plus, some updates
298
- * lib/netcdf.rb: added NetCDF#scaled_put and NetCDF#scaled_get
299
- * netcdfraw.c,lib/netcdf.rb: added methods to treat the "char" type
300
-
301
- Thu Dec 26 2001 Takeshi Horinouchi
302
- * ruby-netcdf-0.3.1 released
303
- * doc/Ref_man*rd: updated
304
- * lib/netcdf/rb: added NetCDF#def_var_with_dim
305
- * netcdfraw.c: NetCDF*_eql: debug / do not redefine eql?, since the
306
- hash method is not refefined
307
- * lib/netcdf/rb: added NetCDFDim#length_ul0
308
- * netcdfraw.c: NetCDF#close: error will not be raised on NetcdfBadid
309
- * lib/netcdf/rb: added NetCDFVar#shape_current, NetCDFVar#shape_ul0
310
- * lib/netcdf/rb: added NetCDF.create_tmp -- temporary file
311
- * lib/netcdf/rb: NetCDFVar#uri returns path+'?var='+name instead
312
- of path+'?'+name
313
-
314
- Thu Dec 23 2001 Takeshi Horinouchi
315
- * ruby-netcdf-0.3.0 released
316
- * netcdfraw.c: NetCDFVar#vartype is aliased to NetCDFVar#ntype
317
- * INSTALL: updated
318
- * extconf.rb: updated thoroughly (better handling of dependent libs)
319
- * lib/netcdr.rb: NetCDF.open: changed mode specification --
320
- it became much closer to that for the File class
321
- (Also, NetCDF.create was changed a little -- but no effect for users)
322
- * netcdfraw.c: NetCDF_open was modified to be a simple wrapper
323
- only of nc_open.
324
- * netcdfraw.c: completely renew NetCDF_put_att__ --> NArray available
325
- (accordingly changed are NetCDF_(put_att|put_att_var|att_put), and
326
- lib/netcdf.rb:NetCDF(|Var)#put_att,NetCDFAtt#put)
327
- * netcdfraw.c: minor debug -- eliminate global variables rb_cNetCDF*
328
- * netcdfraw.c: initialization of mNumRu was improved
329
-
330
- Thu Dec 7 2001 Takeshi Horinouchi
331
- * ruby-netcdf-0.2.0 released
332
- * lib/netcdf.rb: debug NetCDFVar#[], NetCDFVar#[]=
333
- * doc/Ref_man[_jp].rd: updated
334
- * netcdfraw.c: added clone methods
335
- * netcdfraw.c: added security check
336
- nc_open, nc_create: Check_SafeStr(filename)
337
- file modifying methods: rb_secure(4)
338
- file reading methods: taint return values
339
- * netcdfraw.c: remove unused def of "new" (it's in netcdf.rb)
340
-
341
- Thu Dec 6 2001 Takeshi Horinouchi
342
- * ruby-netcdf-0.1.10 released
343
- * demo/demo2-graphic.rb adapted to advanceddcl-0.2.0
344
- * demo/demo3-ncepclim.rb minor change
345
- * netcdfraw.c: rename mNum as mNumRu; initialize it only at first time
346
- * mkdir test/; mv test.rb test/; and updated test.rb (to include NumRu)
347
- * correctet ChangeLog
348
-
349
- ?? Nov? ?? 2001 Naoki Kawanabe (log added by Horinouchi)
350
- * netcdf.rb added NetCDFVar#[] and NetCDFVar#[]=
351
-
352
- Sat Nov 16 2001 Takeshi Horinouchi
353
- * netcdf.rb: added NetCDFVar.new, NetCDFVar.open (these are the same)
354
-
355
- Sat Nov ?? 2001 Naoki Kawanabe (log added by Horinouchi)
356
- * ruby-netcdf-0.1.9 released
357
- * extconf.rb debug
358
-
359
- Sat Nov 03 2001 Naoki Kawanabe
360
- * ruby-netcdf-0.1.7 released (memo by Horinouchi: this should be 0.1.8)
361
- * changed install directry (require 'netcdf' -> require
362
- 'numru/netcdf')
363
- * added module 'NumRu'
364
- * changed class name (NetCDF -> NumRu::NetCDF etc.)
365
- * demo program renewed
366
- Thu Oct 25 2001 Takeshi Horinouchi
367
-
368
- * ruby-netcdf-0.1.7 released
369
- * doc/Ref_man.rd Created (English translation)
370
- * doc/Ref_man_jp.rd Revised
371
- * netcdfraw.c, NetCDF_att_copy: support file as a destination
372
- (global attribute)
373
-
374
- Thu Oct 23 2001 Takeshi Horinouchi
375
-
376
- * doc/Ref_man_jp.html regenerated from doc/Ref_man_jp.rd
377
- * doc/Ref_man_jp.rd Revised.
378
- * doc/Ref_man_jp.rd index added.
379
-
380
- Thu Oct 23 2001 Takeshi Horinouchi
381
-
382
- * ruby-netcdf-0.1.6 released
383
- * NetCDFruby is renamed to RubyNetCDF.
384
- Documents are changed accordingly.
385
- * INSTALL was made
386
- * Ref_man_jp.rd: a bit modified
387
- * documents moved to doc/
388
- * Ref_man_jp.[doc|pdf] is renamed to Ref_man_jp_obsolete.[doc|pdf]
389
- Will not be maintained any more.
390
-
391
- Fri Oct 05, 2001 Naoki Kawanabe <kawanabe@kurasc.kyoto-u.ac.jp>
392
-
393
- * version 0.1.5 released
394
- * added Ref_man_jp.rd and Ref_man_jp.html (in Japanese)
395
-
396
- Wed Sep 21, 2001 Takeshi Horiouchi <horinout@kurasc.kyoto-u.ac.jp>
397
-
398
- * version 0.1.4 released
399
- * netcdfraw.c: debug get_var_<type> correct dimension order
400
- * test.rb truely get rid of xmp
401
-
402
- Wed Sep 20, 2001 Takeshi Horiouchi <horinout@kurasc.kyoto-u.ac.jp>
403
-
404
- * version 0.1.3 released
405
- * README_JP.txt modified accordingly
406
- * extconf.rb modifyed (support the "test" target)
407
- * netcdf.rb: debug (NetCDFAtt#put)
408
- * netcdfraw.c: debug (NetCDF_put_att, NetCDF_put_att_var)
409
- * test.rb --> debug (usage of NetDCFAtt#put)
410
- * test.rb --> do not use xmp. Accordingly, xmp.rb is removed from
411
- the package
412
-
413
- Wed Sep 20, 2001 Takeshi Horiouchi <horinout@kurasc.kyoto-u.ac.jp>
414
-
415
- * version 0.1.2 re-released
416
- * xmp.rb (an almost standard program) is copied to the top directory
417
- * version 0.1.2 released
418
- * changed extconf.rb
419
- use standard mkmf.rb
420
- Makefile modified after creation by mkmf
421
- * mv netcdf.rb lib/netcdf.rb
422
-
423
- Wed Sep 19, 2001 Takeshi Horiouchi <horinout@kurasc.kyoto-u.ac.jp>
424
-
425
- * started ToDo list
426
-
427
- Wed Sep 19, 2001 Takeshi Horiouchi <horinout@kurasc.kyoto-u.ac.jp>
428
-
429
- * version 0.1.1 released
430
- * Reference manual (in japanese) updated and renamed to Ref_man_jp*
431
- * mkmf.rb changed (*.nc included for cleaning), README_JP.txt
432
- changed accordingly
433
- * demo directly added:
434
- demo/demo1-create-alt.rb
435
- demo/demo1-create.rb
436
- demo/demo2-graphic.rb
437
- demo/demo2-graphic_old.rb
438
- demo/demo3-ncepclim.rb
439
- * netcdfraw.c: NetCDFDim#unlimdim? added
440
- * (acutally on Sep 12) netcdf.rb: NetCDFVar#put_att added
441
- NetCDF#put_att debug
442
- * (acutally on Sep 12) netcdfraw.c: a number of debug,
443
- NetCDF_put_att_var (NetCDFVar#put_attraw) added
444
-
445
- Wed Sep 19, 2001 Toshihiro Sakakima <sakakima@kurasc.kyoto-u.ac.jp>
446
-
447
- * version 0.01 released
416
+ * netcdfraw.c : patch for Ruby 1.9
417
+
418
+ M ChangeLog
419
+ M lib/netcdf.rb
420
+ M lib/netcdf_miss.rb
421
+ M netcdfraw.c
422
+
423
+ 2010-01-14 Takeshi Horinouchi
424
+ Initial revision
425
+
426
+ A ChangeLog
427
+ A INSTALL
428
+ A LICENSE.txt
429
+ A ToDo
430
+ A demo/README
431
+ A demo/demo1-create-alt.rb
432
+ A demo/demo1-create.rb
433
+ A demo/demo2-graphic.rb
434
+ A demo/demo3-ncepclim.rb
435
+ A demo/demo4-copy.rb
436
+ A doc/README_JP.txt
437
+ A doc/Ref_man.html
438
+ A doc/Ref_man.rd
439
+ A doc/Ref_man_jp.html
440
+ A doc/Ref_man_jp.rd
441
+ A doc/to_html
442
+ A extconf.rb
443
+ A lib/netcdf.rb
444
+ A lib/netcdf_miss.rb
445
+ A netcdfraw.c
446
+ A test/aref_aset.rb
447
+ A test/char_var.rb
448
+ A test/clone.rb
449
+ A test/create_tmp.rb
450
+ A test/def_var_with_dim.rb
451
+ A test/factor_offset.rb
452
+ A test/putatt.cdl
453
+ A test/putatt.rb
454
+ A test/test.cdl
455
+ A test/test.rb
456
+ A test/type.rb