fix a VRB-bug
This commit is contained in:
		| @@ -57,6 +57,9 @@ class DwdCrawler(): | ||||
|             altitude = int(altitude.replace('FL', '')) * 100 | ||||
|         else: | ||||
|             altitude = int(altitude.replace('FT', '')) | ||||
|         if 'VRB' == windData[0]: | ||||
|             row = ( altitude, 0, int(windData[1].replace('KT', '')) ) | ||||
|         else: | ||||
|             row = ( altitude, int(windData[0]), int(windData[1].replace('KT', '')) ) | ||||
|         table.append(row) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user