Skip to content

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

License

Notifications You must be signed in to change notification settings

seignovert/python-opus-seti

Repository files navigation

OPUS

Build Coverage PyPI Status Version Python License DOI

Python package for OPUS-Seti API (NASA-PDS Rings Node)

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

opus -h # For help

opus --planet Saturn --target pan

cassini-vims TITAN --limit 5
>>> 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.