module NetCDF::Root
Extended Modules
Direct including types
Defined in:
netcdf/shared/root.crInstance Method Summary
-
#add_dimension(name, length : String | Int32)
Adds a new dimension of
length
, wherelength
is either an Int32 or "unlimited" -
#add_group(name)
Adds and returns a new group
- #add_variable(name, type_str, dimension_ids : Array(Int32))
-
#add_variable(name, type_str, dimensions : Array(Dimension))
Adds a new variable.
-
#dimensions
Returns an array of dimensions
-
#groups
Returns an array of groups
-
#variables
Returns an array of variables
Instance Method Detail
def add_dimension(name, length : String | Int32)
#
Adds a new dimension of length
, where length
is either an Int32 or "unlimited"
Adds a new variable.
type_str
is one of "byte", "char", "short", "int", "ubyte", "ushort", "uint", "float", "double"
Dimensions is an array of dimensions for the new variable.