Skip to content
PL1

Solar longitude error

It seems that solar longitude calculation sometime fails with an encoding error:

>>> tour = TourConfig(mk=5.0, spacecraft='JUICE', target='Ganymede')
>>> traj = tour['2035-06-01':'2035-06-02':'1 min']

>>> traj.solar_longitude
AttributeError: 'SpiceBody' object has no attribute 'encode'