NASA's Heliophysics Data Portal Web Service Client Library
Project description
Synopsis
This library provides a simple python interface to NASA's Heliophysics Data Portal's (HDP) Space Physics Archive, Search, and Extract (SPASE) Web Service. This library implements the client side of the HDP RESTful web services. For more general details about the HDP web services, see https://heliophysicsdata.gsfc.nasa.gov/WebServices/.
Code Example
This package contains example code calling most of the available web services. To run the included example, do the following
python -m hdpws
Also, the following Jupyter notebooks demonstrate different features of the library:
- Simple Query Example (ipynb file) demonstrating a simple query. Launch on Binder.
- Example with data retrieval using cdasws (ipynb file). Launch on Binder.
Motivation
This library hides the HTTP and JSON/XML details of the HDP web services. A python developer only has to deal with python objects and methods.
Dependencies
At this time, the only dependency are:
The critical dependencies above will automatically be installed when this library is.
Installation
To install this package
$ pip install -U hdpws
API Reference
Refer to hdpws package API reference
or use the standard python help mechanism.
from hdpws import HdpWs
help(HdpWs)
Tests
The tests directory contains unittest tests.
Contributors
Bernie Harris.
e-mail for support.
License
This code is licensed under the NASA Open Source Agreement (NOSA).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.