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](https://sscweb.sci.gsfc.nasa.gov/) (SSC). This library implements the client side of the [SSC RESTful web services](https://sscweb.sci.gsfc.nasa.gov/WebServices/REST/) and can return data in the [SpacePy data model](https://pythonhosted.org/SpacePy/datamodel.html). 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](https://pythonhosted.org/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](https://cdf.sci.gsfc.nasa.gov) 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](https://pythonhosted.org/SpacePy/) and the [CDF](https://cdf.sci.gsfc.nasa.gov) 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](https://sscweb.sci.gsfc.nasa.gov/WebServices/REST/py/sscws/index.html)

or use the standard python help mechanism.

from sscws import SscWs help(SscWs)

## Tests

The tests directory contains [unittest](https://docs.python.org/3/library/unittest.html) tests.

## Contributors

Bernie Harris. [e-mail](mailto:gsfc-spdf-support@lists.nasa.gov) for support.

## License

This code is licensed under the [NASA Open Source Agreement](https://cdaweb.gsfc.nasa.gov/WebServices/NASA_Open_Source_Agreement_1.3.txt) (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.3.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

sscws-0.1.3-py3-none-any.whl (40.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sscws-0.1.3.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/28.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.12

File hashes

Hashes for sscws-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c59ca3ea585198a2002ddcc3a836c96ce1553c8bc77c1b7c24bfc299e7861206
MD5 ffc1ef3fec37de11d2e2fb8189648b80
BLAKE2b-256 f24ecd42637fef7201fb50d399241f7e05c927b41a98d1b8b48689d8a7ad487d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sscws-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fbfbe3382796044e43377f10276694bc01224ec21ba5f8877f05cc8e068c7af7
MD5 b0a88614a30b4119a89317bad32c8f98
BLAKE2b-256 d584aebcc5ebc75b48e7d89ec172205e27bda8d0d67af58207eb67404227af1e

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