PyBeach 2026

Accessing NASA Planetary Ephemeris with SpiceyPy

Learn how to access NASA planetary mission ephemeris data with SpiceyPy; a community-developed open source wrapper to the JPL SPICE toolkit.


Since 2014 I have led the development of SpiceyPy, a open source python wrapper for the JPL SPICE Toolkit that provides access to NASA planetary mission spacecraft navigation and ephemeris information. In my talk I plan to introduce what SPICE is and how to access NASA mission ephemeris and navigation data as it is not well known by the general public, although it is all made available for free by NASA. Next I will talk a bit more specifically about SpiceyPy, its development history over the past decade, its in progress transition from ctypes to Cython, how to install it and what the API looks like. I will then go through two demos to demonstrate the capabilities of SpiceyPy, first to compute Solar eclipse information, then an example to make a map of the Mars Curiosity rover traverse. As I develop the slides if time permits I may insert another demo here, but otherwise I would end with a discussion of future work for the project and leave time for questions.

Andrew Annex, Ph.D.

Andrew Annex, Ph.D. is a senior SWE at Planet Labs and a planetary scientist at the SETI Institute. He has maintained SpiceyPy, an open source Python library, for over a decade.