Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
import spiceypy

# Define paths to the MK files
predicated_mk_filepath = "solo_ANC_soc-pred-mk.tm"
asflown_mk_filepath = "solo_ANC_soc-flown-mk.tm"

# Predicated SPICE kernels should be loaded first
spiceypy.furnsh(predicated_mk_filepath)
# Then load as-flown SPICE kernels 
spiceypy.furnsh(asflown_mk_filepath)

# Print out the toolkit version
spicespicepy.tkvrsn("TOOLKIT")

# At this stage Solar Orbiter SPICE kernels have been loaded and are ready to be used (visit spiceypy documentation site in https://spiceypy.readthedocs.io to learn more about module capabilities.)

...