''' Provides a summary of the mission time line
'''
import datetime
mission_event_list = [
['G1', datetime.datetime(2030, 1, 22, 8, 16), 'JOI PRM', 400., ],
['G2', datetime.datetime(2030, 0o7, 27, 8, 45), 'EVI RED', 300., ],
['G3', datetime.datetime(2030, 9, 15, 10, 27), 'EVI RED', 300., ],
['G4', datetime.datetime(2030, 10, 16, 13, 28), 'EVI RED', 2179., ],
['G5', datetime.datetime(2030, 11, 0o4, 3, 10), 'EVI RED', 1692., ],
['C6', datetime.datetime(2030, 11, 16, 17, 50), 'EVI RED', 1107., ],
['C7', datetime.datetime(2031, 0o1, 16, 17, 27), 'EVI RED', 1725., ],
['C8', datetime.datetime(2031, 0o2, 0o2, 9, 37), 'EUROPA', 743., ],
['E9', datetime.datetime(2031, 0o2, 13, 13, 49), 'EUROPA', 400., ],
['E10', datetime.datetime(2031, 0o2, 27, 19, 30), 'EUROPA', 400., ],
['C11', datetime.datetime(2031, 0o3, 12, 8, 52), 'EUROPA', 837., ],
['G12', datetime.datetime(2031, 0o4, 0o2, 22, 48), 'JUP HIGH LAT', 1671., ],
['C13', datetime.datetime(2031, 0o4, 14, 15, 1), 'JUP HIGH LAT', 200., ],
['C14', datetime.datetime(2031, 0o5, 0o1, 7, 8), 'JUP HIGH LAT', 200., ],
['C15', datetime.datetime(2031, 0o5, 17, 23, 25), 'JUP HIGH LAT', 367., ],
['C16', datetime.datetime(2031, 0o6, 0o3, 15, 41), 'JUP HIGH LAT', 713., ],
['C17', datetime.datetime(2031, 0o6, 20, 7, 58), 'JUP HIGH LAT', 200., ],
['C18', datetime.datetime(2031, 0o7, 0o7, 0, 12), 'JUP HIGH LAT', 200., ],
['C19', datetime.datetime(2031, 0o7, 15, 6, 34), 'JUP HIGH LAT', 200., ],
['C20', datetime.datetime(2031, 0o7, 31, 22, 48), 'JUP HIGH LAT', 200., ],
['C21', datetime.datetime(2031, 8, 17, 15, 7), 'JUP HIGH LAT', 1305., ],
['C22', datetime.datetime(2031, 9, 0o3, 7, 20), 'JUP HIGH LAT', 200., ],
['C23', datetime.datetime(2031, 9, 19, 23, 38), 'JUP HIGH LAT', 200., ],
['C24', datetime.datetime(2031, 10, 0o6, 16, 0), 'JUP HIGH LAT', 589., ],
['G25', datetime.datetime(2031, 11, 15, 19, 52), 'TRANS GANY', 1036., ],
['C26', datetime.datetime(2031, 11, 22, 15, 33), 'TRANS GANY', 382., ],
['C27', datetime.datetime(2031, 12, 17, 12, 30), 'TRANS GANY', 1704., ],
['C28', datetime.datetime(2032, 0o1, 16, 1, 41), 'TRANS GANY', 528., ],
['C29', datetime.datetime(2032, 0o2, 0o1, 17, 21), 'TRANS GANY', 4936., ],
['G30', datetime.datetime(2032, 0o3, 0o2, 20, 2), 'TRANS GANY', 17352., ],
['G31', datetime.datetime(2032, 0o5, 0o6, 2, 28), 'TRANS GANY', 47805., ],
['G32', datetime.datetime(2032, 0o6, 11, 2, 35), 'TRANS GANY', 27191., ],
['G33', datetime.datetime(2032, 0o7, 0o2, 20, 59), 'TRANS GANY', 36227., ],
['G34', datetime.datetime(2032, 8, 22, 10, 9), 'TRANS GANY', 37483., ],
['GOI', datetime.datetime(2032, 9, 23), 'IN ORBIT GANY', 200., ],
['GCO-500', datetime.datetime(2033, 0o2, 22), 'IN ORBIT GANY', 500., ],
['GCO-200', datetime.datetime(2033, 0o6, 0o4), 'IN ORBIT GANY', 200., ],
['END', datetime.datetime(2033, 0o7, 0o4), 'IN ORBIT GANY', 200., ]]
[docs]def get_label():
return [i[0] for i in mission_event_list]
[docs]def get_datetime(eventname):
lab = get_label()
if eventname in lab:
i = lab.index(eventname)
return mission_event_list[i][1]
else:
raise ValueError('No event %s found' % eventname)