PyMetOffice
0.4
Pythonic access to UK Met Office DataPoint API
|
A convenient wrapper for a single observation. More...
Public Member Functions | |
def | __init__ |
def | addDay |
The 'day' value is part of a set of observations but can be useful in a single observation. | |
def | __lt__ |
Enable sorting of lists of Observation objects. | |
def | __repr__ |
This provides a fairly sensible text representation. | |
def | __str__ |
Private Attributes | |
_data | |
A convenient wrapper for a single observation.
Definition at line 102 of file observation.py.
def pymetoffice.observation.Observation.__init__ | ( | self, | |
decoder, | |||
repData | |||
) |
decoder | is a decoder obtained from the _makeDecoder method. |
repData | is a DOM Element object with tag 'Rep' |
Definition at line 107 of file observation.py.
def pymetoffice.observation.Observation.__lt__ | ( | self, | |
other | |||
) |
Enable sorting of lists of Observation objects.
Definition at line 125 of file observation.py.
def pymetoffice.observation.Observation.__repr__ | ( | self | ) |
This provides a fairly sensible text representation.
Mostly useful for debugging.
Definition at line 129 of file observation.py.
def pymetoffice.observation.Observation.addDay | ( | self, | |
day | |||
) |
The 'day' value is part of a set of observations but can be useful in a single observation.
Definition at line 122 of file observation.py.