Class: NetCDF::DimensionWriter

Inherits:
Dimension show all
Defined in:
lib/netcdf/dimension.rb

Overview

Instance Attribute Summary

Attributes inherited from CDMNode

#netcdf_elmt

Instance Method Summary collapse

Methods inherited from Dimension

#get_length, #group, #shared?, #unlimited?, #variable_length?

Methods inherited from CDMNode

#get_full_name, #get_short_name, #initialize

Constructor Details

This class inherits a constructor from NetCDF::CDMNode

Instance Method Details

#group=(group) ⇒ Object





140
141
142
# File 'lib/netcdf/dimension.rb', line 140

def group=(group)
  @netcdf_elmt.setGroup(group.netcdf_elmt)
end

#length=(val) ⇒ Object





100
101
102
# File 'lib/netcdf/dimension.rb', line 100

def length=(val)
  @netcdf_elmt.setLength(val)
end

#name=(name) ⇒ Object





108
109
110
# File 'lib/netcdf/dimension.rb', line 108

def name=(name)
  @netcdf_elmt.setName(name)
end

#set_immutableObject





92
93
94
# File 'lib/netcdf/dimension.rb', line 92

def set_immutable
  @netcdf_elmt.setImmutable()
end

#shared=(bool) ⇒ Object





116
117
118
# File 'lib/netcdf/dimension.rb', line 116

def shared=(bool)
  @netcdf_elmt.setShared(bool)
end

#unlimited=(bool) ⇒ Object





124
125
126
# File 'lib/netcdf/dimension.rb', line 124

def unlimited=(bool)
  @netcdf_elmt.setUnlimited(bool)
end

#variable_length=(bool) ⇒ Object





132
133
134
# File 'lib/netcdf/dimension.rb', line 132

def variable_length=(bool)
  @netcdf_elmt.setVariableLength(bool)
end