irfpy.pep.juice_spice1205

JUICE orbit (2012-May version) using SPICE

Warning

Deprecated and replaced by irfpy.juice.jspice.

The JUICE orbit information from SPICE for the 2012 May version. The old version (2011-Nov version), use juice_spice module.

The kernel name is mantra.jgo_2022_ipc_eur_inc_gan_003.bsp. The kernel is not included in the repository.

The kernels are specified by .irfpyrc file.

[pep]
juice1205kernels = /Volumes/scidata/data/jupiter/kernels/setup1205.mk

For nominal use, try the following.

>>> juice = JuiceSpice.get_default_instance()
class irfpy.pep.juice_spice1205.JuiceSpice[source]

Bases: object

juice_id = -907
juice_name = 'JGO'
classmethod get_default_instance()[source]
load_kernel(kernel_filename)[source]

Load a kernel.

Wrapper to spice.furnsh().

load_default_kernels()[source]

Load default kernels.

get_position(t, relative_to='JUPITER', frame='JSE')[source]

Return the Juice orbiter’s position vector.

Parameters
  • t (datetime.datetime) – Time

  • relative_to (String) – The SPICE name of the body to calculate the position

  • frame (String) – Frame of the position vector

Returns

Return the Juice orbiter’s position in the given frame

Return type

np.array of (3,) shape.

>>> juice = JuiceSpice.get_default_instance()
>>> pos = juice.get_position(datetime.datetime(2031, 6, 5, 12, 55, 15))
>>> print('%.2f %.2f %.2f' % (pos[0], pos[1], pos[2]))
97514.29 -1409055.30 550473.59
get_velocity(t, relative_to='JUPITER', frame='JSE')[source]

Return the Juice orbiter’s velocity vector.

Parameters
  • t (datetime.datetime) – Time

  • relative_to (String) – The SPICE name of the body to calculate the relative velocity

  • frame (String) – Frame of the velocity vector

Returns

Return the Juice orbiter’s velocity vector in the given frame

Return type

np.array

get_positions(tlist, *args, **kwds)[source]

Get position from the list of time.

See get_position() for the acceptable arguments and keywords.

class irfpy.pep.juice_spice1205.JuiceSummary[source]

Bases: object

A data base of the juice operation summary.

The operation summary has been provided from the project team together with the kernel file. The file name is mantra.jgo_2022_ipc_eur_inc_gan_003_summary.pdf.

table = {'C11': ['C11', datetime.datetime(2031, 3, 12, 0, 0), 'EUROPA', 837.0], 'C13': ['C13', datetime.datetime(2031, 4, 14, 0, 0), 'JUP HIGH LAT', 200.0], 'C14': ['C14', datetime.datetime(2031, 5, 1, 0, 0), 'JUP HIGH LAT', 200.0], 'C15': ['C15', datetime.datetime(2031, 5, 17, 0, 0), 'JUP HIGH LAT', 367.0], 'C16': ['C16', datetime.datetime(2031, 6, 3, 0, 0), 'JUP HIGH LAT', 713.0], 'C17': ['C17', datetime.datetime(2031, 6, 20, 0, 0), 'JUP HIGH LAT', 200.0], 'C18': ['C18', datetime.datetime(2031, 7, 7, 0, 0), 'JUP HIGH LAT', 200.0], 'C19': ['C19', datetime.datetime(2031, 7, 15, 0, 0), 'JUP HIGH LAT', 200.0], 'C20': ['C20', datetime.datetime(2031, 7, 31, 0, 0), 'JUP HIGH LAT', 200.0], 'C21': ['C21', datetime.datetime(2031, 8, 17, 0, 0), 'JUP HIGH LAT', 1305.0], 'C22': ['C22', datetime.datetime(2031, 9, 3, 0, 0), 'JUP HIGH LAT', 200.0], 'C23': ['C23', datetime.datetime(2031, 9, 19, 0, 0), 'JUP HIGH LAT', 200.0], 'C24': ['C24', datetime.datetime(2031, 10, 6, 0, 0), 'JUP HIGH LAT', 589.0], 'C26': ['C26', datetime.datetime(2031, 11, 22, 0, 0), 'TRANS GANY', 382.0], 'C27': ['C27', datetime.datetime(2031, 12, 17, 0, 0), 'TRANS GANY', 1704.0], 'C28': ['C28', datetime.datetime(2032, 1, 16, 0, 0), 'TRANS GANY', 528.0], 'C29': ['C29', datetime.datetime(2032, 2, 1, 0, 0), 'TRANS GANY', 4936.0], 'C6': ['C6', datetime.datetime(2030, 11, 16, 0, 0), 'EVI RED', 1107.0], 'C7': ['C7', datetime.datetime(2031, 1, 16, 0, 0), 'EVI RED', 1725.0], 'C8': ['C8', datetime.datetime(2031, 2, 2, 0, 0), 'EUROPA', 743.0], 'E10': ['E10', datetime.datetime(2031, 2, 27, 0, 0), 'EUROPA', 400.0], 'E9': ['E9', datetime.datetime(2031, 2, 13, 0, 0), 'EUROPA', 400.0], 'END': ['END', datetime.datetime(2033, 7, 4, 0, 0), 'IN ORBIT GANY', 200.0], 'G1': ['G1', datetime.datetime(2030, 1, 22, 0, 0), 'JOI PRM', 400.0], 'G12': ['G12', datetime.datetime(2031, 4, 2, 0, 0), 'JUP HIGH LAT', 1671.0], 'G2': ['G2', datetime.datetime(2030, 7, 27, 0, 0), 'EVI RED', 300.0], 'G25': ['G25', datetime.datetime(2031, 11, 15, 0, 0), 'TRANS GANY', 1036.0], 'G3': ['G3', datetime.datetime(2030, 9, 15, 0, 0), 'EVI RED', 300.0], 'G30': ['G30', datetime.datetime(2032, 3, 2, 0, 0), 'TRANS GANY', 17352.0], 'G31': ['G31', datetime.datetime(2032, 5, 6, 0, 0), 'TRANS GANY', 47805.0], 'G32': ['G32', datetime.datetime(2032, 6, 11, 0, 0), 'TRANS GANY', 27191.0], 'G33': ['G33', datetime.datetime(2032, 7, 2, 0, 0), 'TRANS GANY', 36227.0], 'G34': ['G34', datetime.datetime(2032, 8, 22, 0, 0), 'TRANS GANY', 37483.0], 'G4': ['G4', datetime.datetime(2030, 10, 16, 0, 0), 'EVI RED', 2179.0], 'G5': ['G5', datetime.datetime(2030, 11, 4, 0, 0), 'EVI RED', 1692.0], 'GCO-200': ['GCO-200', datetime.datetime(2033, 6, 4, 0, 0), 'IN ORBIT GANY', 200.0], 'GCO-500': ['GCO-500', datetime.datetime(2033, 2, 22, 0, 0), 'IN ORBIT GANY', 500.0], 'GOI': ['GOI', datetime.datetime(2032, 9, 23, 0, 0), 'IN ORBIT GANY', 200.0]}
irfpy.pep.juice_spice1205.doctests()[source]