Skip Navigation: Avoid going through Home page links and jump straight to content
NASA Logo    + View the NASA Portal  
NAIF

SPICE Programming Lessons

NAIF offers a set of "hands-on" programming lessons to assit newer users in learning fundamentals of programming with SPICE modules. Eight lessons comprise this collection.
  • Navigating Through the SPICE Components
  • Basics: Building SPICE Applications
  • Remote Sensing Example
  • In-situ Sensing Example
  • Special focus on using High-precision Binary PCKs for the earth and moon
  • Geometric Event Finding
  • Other Stuff: a collection of miscellaneous small exercises
  • Practice Using Toolkit Applications
The lessons come packaged for Unix (includes Mac) and for Windows platforms. The lessons are provided in the four languages currently supported by NAIF: ANSI Fortran 77, ANSI C, Interactive Data Language (IDL) and MATLAB.

Most of the lessons are broken down into multiple steps. The lesson text provides task statements, references, tips, and names of the SPICE kernels needed. NAIF's solution to each step is provided at the end of the step, so you may think of these lessons as "open book" exercises.

The SPICE kernels needed for each lesson come packaged with the lesson. Where appropriate one or more graphics describing the lesson's steps are also provided.

Important Note: The lessons are provided in both plain text and in HTML. The plain text versions may be used anywhere on your computer. But NAIF suggests you use the HTML versions as these include many convenient hyperlinks to Toolkit documentation and module headers. In order to have these hyperlinks work you MUST create a "lessons" directory under the "doc/html" directory of your Toolkit tree and copy each html lesson document to that subdirectory. Then load the lesson file name into your web browser.

FIRST GOV + NASA Privacy Statement, Disclaimer NASA Home Page Site Manager: Chuck Acton
Webmaster: Ron Baalke
Last Updated: