../lib/numru/gphys/gphys_grads_io.rb

# module NumRu::GPhys::GrADS_IO

helps read/write GrADS-formatted data

## Module functions

#### `open(file, varname)`

  GPhys constructor from GrADS.

  ARGUMENTS

  - file (GrADS_Gridded or String): file to read. If string, it must be the name (path) of a GrADS control file.
  - varname (String): name of the varible in the file for which a GPhys object is constructed.

  RETURN VALUE

  - a GPhys

  EXAMPLE

  - Suppose that you have a file T.jan.ctl in the currentdirectly, and it contains a variable "T".

        require "numru/gphys"
        include GPhys
        temp = GPhys::GrADS_IO.open("T.jan.ctl","T")

#### `write(file, gphys, name=nil)`

  writes a GPhys object into a GrADS file. -- !!DOES NOT WORK CURRENTLY!!