Changeset 2930 for trunk/python


Ignore:
Timestamp:
04/17/14 11:35:34 (11 years ago)
Author:
Malte Marquarding
Message:

Use weather information as that is provide at MOPRA now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r2926 r2930  
    10981098    def get_weather(self, row=-1):
    10991099        """\
    1100         Return the weather informations.
     1100        Return the weather information.
    11011101
    11021102        Parameters:
     
    11091109
    11101110        """
    1111 
     1111        if row >= len(self):
     1112            raise IndexError("row out of range")
    11121113        values = self._get_column(self._get_weather, row)
    11131114        if row > -1:
     
    11191120            out = []
    11201121            for r in values:
    1121 
    11221122                out.append({'temperature': r[0],
    11231123                            'pressure': r[1], 'humidity' : r[2],
Note: See TracChangeset for help on using the changeset viewer.