Python package for NAIF WebGeoCalc API¶
In december 2018, JPL/NAIF announced an experimental API RESTful interface for their new WebGeoCalc server (which make online SPICE calculations). Documentation and JavaScript examples are already available.
This package provides a Python interface to make SPICE calculations through this API.
Caution
WebGeoCalc is not design to handle heavy calculation. If you need to make intensive queries, use Spiceypy or SpiceMiner package with locally hosted kernels.
Install¶
With pip
:
$ pip install webgeocalc
With conda
:
$ conda install -c seignovert webgeocalc
From the sources:
$ git clone https://github.com/seignovert/python-webgeocalc.git webgeocalc
$ cd webgeocalc
$ python setup.py install
Documentation¶
- Basic usage of WebGeoCalc API
- WebGeoCalc calculations
- Inputs examples and payloads
- Submit payload and retrieve results
- Calculation names
- Generic calculation
- State Vector
- Angular Separation
- Angular Size
- Frame Transformation
- Illumination Angles
- Sub Solar Point
- Sub Observer Point
- Surface Intercept Point
- Osculating Elements
- Time Conversion
- Geometry Finder: Coordinate Search
- Command line interface
Important
This project is not supported or endorsed by either JPL, NAIF or NASA. The code is provided “as is”, use at your own risk.