helps read/write GrADS-formatted data
is_a_GrADS?(filename)test whether the file is a GrADS control file.
ARGUMENTS
RETURN VALUE
open(file, varname)GPhys constructor from GrADS.
ARGUMENTS
RETURN VALUE
EXAMPLE
Suppose that you have a file T.jan.ctl in the currentdirectly, and it contains a variable "T". The following creates a GPhys object representing the variable in the file.
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. -- !!only 4D data is supported!!
var_names(file)ARGUMENTS
RETURN VALUE
var_names_except_coordinates(file)same as var_names