/usr/share/doc/ruby-grib/README.rdoc is in ruby-grib 0.2.2-4build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | = What's rb-GRIB
rb-GRIB is a class library to handle GRIB file.
= rb-GRIB home-page
The URL of the rb-GRIB home-page is:
http://ruby.gfd-dennou.org/products/rb-grib/
= Requires
* Ruby (http://www.ruby-lang.org/)
* NArray (http://narray.rubyforge.org/index.html.en)
* NArrayMiss (http://ruby.gfd-dennou.org/products/narray_miss/)
* GRIB API (http://www.ecmwf.int/products/data/software/grib_api.html)
= Install
# gem install rb-grib
= Copying
See the file LICENSE.txt.
= Usage
To use this library, put the following in your script.
require 'numru/grib'
= Example
require 'numru/grib'
include NumRu
filename = "test.grib"
grib = Grib.open(filename)
varnames = grib.var_names # => Array
varnames.each do |vname|
var = grib.var(vname) # => GribVar
dimnames = var.dim_names # => Array
ary = var.get # => NArray
end
grib.close
= The Author
Feel free to send comments and bug reports to the author.
The author's e-mail addess is
seiya@gfd-dennou.org
|