Changeset 2930 for trunk/python
- Timestamp:
- 04/17/14 11:35:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r2926 r2930 1098 1098 def get_weather(self, row=-1): 1099 1099 """\ 1100 Return the weather information s.1100 Return the weather information. 1101 1101 1102 1102 Parameters: … … 1109 1109 1110 1110 """ 1111 1111 if row >= len(self): 1112 raise IndexError("row out of range") 1112 1113 values = self._get_column(self._get_weather, row) 1113 1114 if row > -1: … … 1119 1120 out = [] 1120 1121 for r in values: 1121 1122 1122 out.append({'temperature': r[0], 1123 1123 'pressure': r[1], 'humidity' : r[2],
Note:
See TracChangeset
for help on using the changeset viewer.