module NetCDF::Root

Extended Modules

Direct including types

Defined in:

netcdf/shared/root.cr

Instance Method Summary

Instance Method Detail

def add_dimension(name, length : String | Int32) #

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


[View source]
def add_group(name) #

Adds and returns a new group


[View source]
def add_variable(name, type_str, dimension_ids : Array(Int32)) #

[View source]
def 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.


[View source]
def dimensions #

Returns an array of dimensions


[View source]
def groups #

Returns an array of groups


[View source]
def variables #

Returns an array of variables


[View source]