SpiceyJS - Time conversion library based on NAIF's CSPICE(NPO-50793-1)

data and image processing
SpiceyJS - Time conversion library based on NAIF's CSPICE
(NPO-50793-1)
Overview
Spicey is a time conversion library based on NAIF's CSPICE. In order to accomplish this, we automatically converted the C source code into Javascript via Emscripten. In order for them to work in a much more user friendly and Javascript-like way, we have created wrapper functions that interact with the resulting simulated C program, allocating and deallocating memory as necessary. This project only includes wrappers for the functions relevant to time conversion and some light time calculations. If you are looking to use CSPICE's extensive telemetry, etc. functionality, instead look at spice.js. This project is an offshoot of spice.js. A great deal below deals with the loading and furnishing of kernels. If you do not wish to do any time conversions involving specific spacecraft or planets, the default included kernels are sufficient and you may ignore these sections. The default kernels are enough to refer to most NAIF ID's, a planetary constants kernel, and a leap seconds kernel. See spicey_example.html for a simple demo of spicey working.
Software Details

Category
Data and Image Processing
Reference Number
NPO-50793-1
Release Type
Open Source
Operating System
Contact Us About This Technology

Jet Propulsion Laboratory
Stay up to date, follow NASA's Technology Transfer Program on:
facebook twitter linkedin youtube
Facebook Logo X Logo Linkedin Logo Youtube Logo