= 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/)
* NumRu-NArray (https://github.com/seiya/numru-narray) or NArray (https://masa16.github.io/narray/index.html)
* 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
