Spacecraft Planet Instrument C-matrix Events
SPICE is a NASA ancillary information system used to compute geometric information used in planning and analyzing science observations obtained from robotic spacecraft. It is also used in planning missions and conducting numerous engineering functions needed to carry out those missions.
SPICE was developed at NASA's Navigation and Ancillary Information Facility (NAIF), led by Charles Acton and located at the Jet Propulsion Laboratory. It has become the de facto standard for handling much of the so-called observation geometry information on NASA's planetary missions, and it is now widely used in support of science data analysis on planetary missions of other space agencies as well. Some SPICE capabilities are used on a variety of astrophysics, solar physics and earth science missions.
SPICE consists of both data and software.
SPICE data files are usually referred to as "kernels." These files provide information such as spacecraft trajectory and orientation; target body ephemeris, size and shape; instrument field-of-view size, shape and orientation; specifications for reference frames; and tabulations of time system conversion coefficients.
The SPICE system includes software referred to as The SPICE Toolkit, used for reading the SPICE data files and computing geometric parameters based on data from those files. These tools are provided as subroutine libraries in four programming languages: C, FORTRAN, IDL, MATLAB and Java Native Interface. Third parties offer Python and Ruby interfaces to the C-language Toolkit. The Toolkits also include a number of utility and application programs. The SPICE Toolkits are available for most popular computing platforms, operating systems and compilers. Extensive documentation accompanies each Toolkit.
Those unable to write their own SPICE-based program may try using WebGeocalc, a browser interface to a SPICE-based geometry engine running on the NAIF server. Using WebGeocalc is much easier than writing your own program, but it still requires considerable knowledge about SPICE data and solar system geometry, and it doesn't offer the full range of computations available when using Toolkit software in your own program.
The NAIF Group also offers a 3-D mission visualization program named SPICE-Enhanced Cosmographia. This program runs in the OSX, Windows and Linux environments. Visual representations of mission SPICE data are controlled using an assortment of menus and GUI controls. A scripting interface is also available. 
Tutorials and programming lessons
A set of tutorials is available to help users understand the SPICE data and software. Some "open book" programming lessons useful in learning how to program using Toolkit subroutines are also available.
The SPICE data, Toolkit software, tutorials and programming lessons are all freely available from the NAIF website. Prospective users are cautioned that it takes some effort to learn to use this software: it is targeted for professionals in the space exploration business.
- "The SPICE Concept". NASA NAIF. Retrieved 2009-05-11.
- NAIF/SPICE Newsletter February 2019 NASA Navigation and Ancillary Information Facility (NAIF)
- "About NAIF". NASA NAIF. Retrieved 2009-05-11.
- "Components". NASA NAIF. Archived from the original on 2009-04-12. Retrieved 2009-05-11.
- "Archived Data". NASA NAIF. Retrieved 2009-05-11.
- "The SPICE Toolkit". NASA NAIF. Retrieved 2009-05-11.
- "WebGeocalc". NASA NAIF. Retrieved 2019-02-14.
- "Cosmographia". NASA NAIF. Retrieved 2019-02-22.
- "SPICE Tutorials". NASA NAIF. Retrieved 2016-01-16.
- "NAIF Website". NASA NAIF. Retrieved 2009-05-11.