module

NetCDF::Root

Instance methods

add_dimension(name, length : String | Int32)

Adds a new dimension of length, where length is either an Int32 or "unlimited"

Source
add_group(name)

Adds and returns a new group

Source
add_variable(name, type_str, dimension_ids : Array(Int32))
Source
add_variable(name, type_str, dimensions : Array(Dimension))

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.

Source
dimensions

Returns an array of dimensions

Source
groups

Returns an array of groups

Source
variables

Returns an array of variables

Source