Skip to main content

NASA's Satellite Situation Center Web Service Client Library

Project description

Synopsis

This library provides a simple python interface to NASA's Satellite Situation Center (SSC). This library implements the client side of the SSC RESTful web services and can return data in the SpacePy data model. For more general details about the SSC web services, see https://sscweb.sci.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 sscws

The following code demonstrates ....

from sscws import SscWs
import matplotlib.pyplot as plt

ssc = SscWs()
data = ssc....

Motivation

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

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 sscws

API Reference

Refer to sscws package API reference

or use the standard python help mechanism.

from sscws import SscWs
help(SscWs)

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

sscws-0.1.1.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

sscws-0.1.1-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

Details for the file sscws-0.1.1.tar.gz.

File metadata

  • Download URL: sscws-0.1.1.tar.gz
  • Upload date:
  • Size: 25.8 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.9

File hashes

Hashes for sscws-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c4ca324ad8e3c69b4376e65370f044057912fc521e3d81616a28ff7a60e8fa7f
MD5 7b6cbe0fd9ac0680e2776cba479a5a70
BLAKE2b-256 8c3ce49e4e838246338c04bbb6e23258212373e5bad6093fae85d248513e5cd1

See more details on using hashes here.

File details

Details for the file sscws-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sscws-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 42.9 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.9

File hashes

Hashes for sscws-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71e1da0d3091eecad398a17ebfbd70b1348bc5a94b25a453ad7e2bf5d87b1efc
MD5 700c970e5e43f9272fa7f5e1628baee1
BLAKE2b-256 b3453d2a7b20021fb2800d0dda9f5a35d9201b4b3ff0406d8eaa90edd5b7b1f3

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