Skip to main content

NASA's Coordinated Data Analysis System Web Service Client Library

Project description

Synopsis

This library provides a simple python interface to the data and services of NASA's Coordinated Data Analysis System (CDAS). This library implements the client side of the CDAS RESTful web services and can return data in the SpacePy data model with all the original ISTP/SPDF metadata. Frequently asked questions concerning this library are at FAQ. For more general details about the CDAS web services, see https://cdaweb.gsfc.nasa.gov/WebServices/REST/.

Code Example

This package contains example code calling most of the available web services. To run the included example, do the following

python -m cdasws

Also, the following Jupyter notebook demonstrate different features of the library:

  1. Example (ipynb file) demonstrating use of library.

Motivation

This library hides the HTTP, JSON/XML, and CDF details of the CDAS web services. A python developer only has to deal with python objects and methods (primarily the SpacePy data model object with full ISTP/SPDF metadata).

Dependencies

Accept for common, fundamental depenencies like requests, the primary dependency is SpacePy. And SpacePy is only required if you call the get_data method that returns the data in the SpacePy data model. Refer to the SpacePy documentation for the details of SpacePy's dependencies. In particular, SpacePy's data model import capability is dependent upon CDF which is not (at the time of this writing) automatically installed with SpacePy.

Installation

As noted in the dependencies above, if you intend to call the get_data method, you must install SpacePy and the CDF library (following the procedures at the SpacePy and CDF web sites).

Then, to install this package

$ pip install -U cdasws

API Reference

Refer to cdasws package API reference

or use the standard python help mechanism.

from cdasws import CdasWs
help(CdasWs)

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

cdasws-1.7.36.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

cdasws-1.7.36-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file cdasws-1.7.36.tar.gz.

File metadata

  • Download URL: cdasws-1.7.36.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.12

File hashes

Hashes for cdasws-1.7.36.tar.gz
Algorithm Hash digest
SHA256 879aa19ef83e3862dbd3034e1f04a176101318be768eee64c941d006935062ec
MD5 5e2c8ac3705e8f17a66fa061f749c0e8
BLAKE2b-256 b59141530daa62bf369cb2e3bb80f07c0137ea220f7353e76b79c0d5d6a64c81

See more details on using hashes here.

File details

Details for the file cdasws-1.7.36-py3-none-any.whl.

File metadata

  • Download URL: cdasws-1.7.36-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.12

File hashes

Hashes for cdasws-1.7.36-py3-none-any.whl
Algorithm Hash digest
SHA256 a229ad7bbbbe0b98d77e00b9c3320fb6c877fbef80019c6ce862f38d5db4f75a
MD5 e29322784e2fa937b9f70e1b7f7ff198
BLAKE2b-256 755290516226dc23443debe988f5e857d8f41db0c91d91fc12acb361640eb0b1

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