NetCDF::Root
Instance methods
add_dimension(name, length : String | Int32)
Adds a new dimension of length, where length is either an Int32 or "unlimited"
add_variable(name, type_str, dimension_ids : Array(Int32))
Sourceadd_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.