[Spice_discussion] Picante, a SPICE-compatible Java library

Nair, Hari Hari.Nair at jhuapl.edu
Thu Nov 9 06:40:33 PST 2023


Picante is a pure Java implementation of many core NAIF/SPICE capabilities.  It was developed by the Analysis and Applications group of the Space Exploration Sector of the Johns Hopkins University Applied Physics Laboratory and released under the MIT<https://urldefense.us/v3/__https://github.com/JHUAPL/Picante/blob/main/LICENSE.md__;!!PvBDto6Hs4WbVuu7!KpSXrIvhuyRFutHYvkVeIbL82Dzd6eqAEhTDfQaZIjOpWlThM64ZQ9Xt7DYRC0HV9Jh1muM3w9wNBCNuHuYfgnR0V9dND96RBRkQ$ > License.

Picante is based on the Crucible library, which has been used on many NASA missions supported or led by JHU/APL over the past 10+ years, including CASSINI, MESSENGER, DART, New Horizons, LRO, and ongoing missions such as Europa Clipper and Dragonfly.

Key features:

·               Pure Java; no native libraries needed

·               replicates NAIF SPICE ephemeris calculations and frame transforms to 1e-12 precision

·               Thread safe

Although Picante reproduces many SPICE capabilities, it has a very different API. Kernels are loaded into a "SpiceEnvironment". The user can instantiate multiple SpiceEnvironments to compare calculations with different sets of kernels, or to run a multithreaded application.

Source code is at https://urldefense.us/v3/__https://github.com/JHUAPL/Picante__;!!PvBDto6Hs4WbVuu7!KpSXrIvhuyRFutHYvkVeIbL82Dzd6eqAEhTDfQaZIjOpWlThM64ZQ9Xt7DYRC0HV9Jh1muM3w9wNBCNuHuYfgnR0V9dND9nJ30cv$ .  Artifacts have been published to Maven Central for easy inclusion in your Java project:

<dependency>
    <groupId>edu.jhuapl.ses</groupId>
    <artifactId>picante</artifactId>
    <version>1.0.0</version>
</dependency>

Unit tests and demonstration code are included to show how to replicate many common SPICE functions with Picante.

Comments and feedback are welcome!

Hari Nair, Jordi Turner, and Scott Turner
SES/SRN Group
Space Exploration Sector
Johns Hopkins University Applied Physics Laboratory

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://naif.jpl.nasa.gov/pipermail/spice_discussion/attachments/20231109/166a6a19/attachment-0001.html>


More information about the Spice_discussion mailing list