Ruby/GrADS
GrADS script
Define method named as "name" with given definition by script text
GrADS#script :name, %{ GrADS scripts } ### scope of instance
GrADS.script :name, %{ GrADS scripts } ### scope of global
GrADS code
Execute grads command sequence
GrADS#exec filename
GrADS#exec_string text
CArray -> GrADS variable
Write block as GrADS::Gridded::Writer definition
GrADS#template2d(dataset, ca, cb, ...) { ... } => a, b, ...
GrADS#tempalte3d(dataset, ca, cb, ...) { ... } => a, b, ...
"grads/lib/save_image"
GrADS#save_image(filename, size="640", dpi=300)