Skip to main content

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/. SPASE Inside

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:

  1. Simple Query Example (ipynb file) demonstrating a simple query. Launch on Binder.
  2. 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:

  1. requests

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdpws-0.6.23.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

hdpws-0.6.23-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file hdpws-0.6.23.tar.gz.

File metadata

  • Download URL: hdpws-0.6.23.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for hdpws-0.6.23.tar.gz
Algorithm Hash digest
SHA256 c90e68b53a88210a096d3e741318c09eb576eb09703ab73deda6db85b1c68299
MD5 6d6da4168db340fbf97dbdd079a2482e
BLAKE2b-256 f792102435cacdda1d634f83a56bae5c5af332ddb245f2e8601e6bdcb26010c4

See more details on using hashes here.

File details

Details for the file hdpws-0.6.23-py3-none-any.whl.

File metadata

  • Download URL: hdpws-0.6.23-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for hdpws-0.6.23-py3-none-any.whl
Algorithm Hash digest
SHA256 f97907d86c98c2d94a61a6c89065908f8442afadce1aaa751d512da170153a44
MD5 47bdb205e971f0c1ce94f01ddd6f1e34
BLAKE2b-256 94b10f8f1d4855ca9044cdd0d8ae96988706dcc7e8c1ec5e586a4a053ccbb2cf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page