Fixed night predictions...
This commit is contained in:
parent
a9fd83f11e
commit
26fd312ce3
|
@ -15,8 +15,10 @@ def aoslos(satname):
|
||||||
result = []
|
result = []
|
||||||
for line in lines:
|
for line in lines:
|
||||||
data = line.split()
|
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]])
|
result.extend([int(data[j]) for j in [4]])
|
||||||
|
# print result
|
||||||
if len(result)>1:
|
if len(result)>1:
|
||||||
maxElev=max(result)
|
maxElev=max(result)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue