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

Class speed

source code


A class representing a wind speed value.

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

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

Class Variables [hide private]
  legal_units = ['KT', 'MPS', 'KMH', 'MPH']
  legal_gtlt = ['>', '<']
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, value, units='frontend', gtlt='frontend')
(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)