Fixed night predictions...

This commit is contained in:
cyber-atomus 2016-11-28 01:38:24 +01:00
parent a9fd83f11e
commit 26fd312ce3
1 changed files with 3 additions and 1 deletions

View File

@ -15,8 +15,10 @@ def aoslos(satname):
result = []
for line in lines:
data = line.split()
if len(data)==12: # expect 12 columns, pick out time, lat, lon
# print data
if len(data)>10: # Mhm. It's 11 or 12 columns...
result.extend([int(data[j]) for j in [4]])
# print result
if len(result)>1:
maxElev=max(result)
else: