class NetCDF::File

Included Modules

Defined in:

netcdf/types/file.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module NetCDF::Root

add_dimension(name, length : String | Int32) add_dimension, add_group(name) add_group, add_variable(name, type_str, dimension_ids : Array(Int32))
add_variable(name, type_str, dimensions : Array(Dimension))
add_variable
, dimensions dimensions, groups groups, variables variables

Constructor Detail

def self.new(id : Int32, parent_id : Int32 = LibNetcdf4::NC_GLOBAL) #

[View source]

Class Method Detail

def self.open(path : String, mode : String = "r") #

[View source]

Instance Method Detail

def add_attribute(name, type_str, value) #

[View source]
def attributes #

[View source]
def close #

Close file


[View source]
def id : Int32 #

[View source]
def id=(id : Int32) #

[View source]
def parent_id : Int32 #

[View source]
def parent_id=(parent_id : Int32) #

[View source]
def sync #

Sync or "flush" file to disk


[View source]