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.5.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

sscws-0.1.5-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sscws-0.1.5.tar.gz
  • Upload date:
  • Size: 28.1 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.5.tar.gz
Algorithm Hash digest
SHA256 981b1b53de008aa199e83c44fce74aaaf9ee9556cb99ee434465dcdc4ee03a77
MD5 2d1ca35a8f893aa232a6428c1f98857e
BLAKE2b-256 e509cfed3263d3b672d4abcfec5af6cf023adff0d367f30aa5a23d6f2a9c7576

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sscws-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 45.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 45e0c8cf7beab28857e79db2992620b4bb8db6324c3eeccbdcf7e030176e669d
MD5 794193a3d17d8987a6bf7280a288ea90
BLAKE2b-256 adc8a26931406f0eb05c6536e19db206502a2738884bc5d51127421005e2c9b7

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