Package elisa :: Package extern :: Package metar :: Module Datatypes :: Class temperature
[hide private]
[frames] | no frames]

Class temperature

source code


A class representing a temperature value.

Instance Methods [hide private]
 
__init__(self, value, units='C')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
value(self, units='frontend')
Return the temperature in the specified units.
source code
 
string(self, units='frontend')
Return a string representation of the temperature, using the given units.
source code

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

Class Variables [hide private]
  legal_units = ['F', 'C', 'K']
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, value, units='C')
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)