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 ....

import matplotlib as mpl
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt

from sscws import SscWs

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

??? rewrite this section 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

??? rewrite this section 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.4.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

sscws-0.1.4-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sscws-0.1.4.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.12

File hashes

Hashes for sscws-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d08b2ea52065ea22846324b7296104e4d2e13752760b50d51bf64e4c6dc8eca5
MD5 38defb4c5478b477eefc7bd364ad8d0f
BLAKE2b-256 ce457866c30fbf53119de71df76ca0fb78250ec7e6dd8bf49fd9024c94ea3ecf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sscws-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.12

File hashes

Hashes for sscws-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 801902661dc0cde16087da1dff2401f04bc307ddd2e857c694fde212eff3d934
MD5 c51cf7bef0d330713ef6a47f474ebddc
BLAKE2b-256 f26938b065b7c3667a00cbe1ea5c6651fb26ac0780c69784b48f3fa9c372ef33

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