Browse Source

Adding some comments.

master
va7eex 8 years ago
committed by GitHub
parent
commit
1d2b116c7e
  1. 1
      satpredict.py

1
satpredict.py

@ -75,6 +75,7 @@ for sat, freq in frequencies.iteritems():
data[name]['duration_minutes'] = convert_time_short(data[name]['duration_seconds']) data[name]['duration_minutes'] = convert_time_short(data[name]['duration_seconds'])
data[name]['elevation'] = p.peak()['elevation'] data[name]['elevation'] = p.peak()['elevation']
#This actually means nothing, feel free to ignore it
data[name]['direction'] = 'S' #Assume northbound data[name]['direction'] = 'S' #Assume northbound
if( int(p_nw.start) > int(p.start) and int(p.start) > int(p_se.start) ): #This is the direction the satellite is travelling TO, not from. if( int(p_nw.start) > int(p.start) and int(p.start) > int(p_se.start) ): #This is the direction the satellite is travelling TO, not from.

Loading…
Cancel
Save