GrADS_Gridded -- a class for GrADS gridded datasets

by T Horinouchi

Overview

a GrADS_Gridded object corresponds to a GrADS control file, through which the users can also access its binary data file(s).

Current Limitations

Class Methods

GrADS_Gridded.new(ctlfilename, mode="r")

same as GrADS_Gridded.open

GrADS_Gridded.open(ctlfilename, mode="r")

make a new GrADS_Gridded object.

ARGUMENTS

REMARK

Methods

to_ctl

returns the contents of the corresponding control file as a String.

REMARK

get(name, level, time)

reads the binary data and returns as a NArray.

ARGUMENTS

varnames

Returns names of the variable in the GrADS file as an Array in the order placed.

dimensions

Returns info on the four dimensions.

RETURN VALUE

WARNING

ctlfilename

path of the control file

title
title=

get/set the title

undef
undef=

get/set the undef value

dset
dset=

get/set the dset string