Published September 12, 2018 | Version v0.4
Software Open

OPUS Seti API

  • 1. LPG Nantes

Description

Python package to use OPUS (NASA-PDS/Seti) search tool API (version v2).

Install

With pip:

$ pip install opus-seti

With the source files:

$ git clone https://github.com/seignovert/python-opus-seti.git
$ cd opus-seti ; python setup.py install

Usage

In bash CLI:

opus -h # For help
opus --planet Saturn --target pan
cassini-vims TITAN --limit 5

Within python

>>> from opus import api

>>> api.data(planet='Saturn', target='pan', limit=10)
OPUS API Data objects (with 10 elements):
- S_IMG_CO_ISS_1480614021_N
- S_IMG_CO_ISS_1488190255_N
- S_IMG_CO_ISS_1488273311_N
- S_IMG_CO_ISS_1488368442_N
- S_IMG_CO_ISS_1488485562_N
- S_IMG_CO_ISS_1488551713_N
- S_IMG_CO_ISS_1488711044_N
- S_IMG_CO_ISS_1488745124_N
- S_IMG_CO_ISS_1488812400_N
- S_IMG_CO_ISS_1488826725_N

More examples are available in this Jupyter Notebook.

Note

IMPORTANT: I have no current affiliation with NASA or SETI. The package is provided as is, use at your own risk.

Files

seignovert/python-opus-seti-v0.4.zip

Files (123.0 kB)

Name Size Download all
md5:6b6327438013e2deb3343c795c5f734a
123.0 kB Preview Download

Additional details