Module sia_model :: Class Dimension
[hide private]
[frames] | no frames]

Class Dimension

source code

object --+
         |
        Dimension

A class to hold a dimension.

Note that each (netCDF) variable has a number of dimensions associated with it, i.e. a touple containing instances of this class. The dimension should have a closely associated variable, coordinate variable which needs to have the same name as the dimension.

Instance Methods [hide private]
 
__init__(self, dimname, size)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, dimname, size)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Parameters:
  • dimname (string) - The standart name according CF 1.4 convention.
  • size (int) - The length of the coordinate variable.
Overrides: object.__init__