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. For more general details about the SSC web services, see https://sscweb.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

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

  1. Simple Location Example (ipynb file)demonstrating a simple 3D plot of orbit information.
  2. Complex Location Example (ipynb file) requesting many values including magnetic field line tracing. This example also demonstrates how to diagnose a problem with an invalid request.
  3. Magnetic Field Line Conjunction Example (ipynb file) with related data retrieval/plotting using cdasws.

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.

Dependencies

At this time, the only dependency are:

  1. requests
  2. numpy
  3. matplotlib. This is not a critical dependency. If it is not installed, the example will simple skip plotting some data.

The critical dependencies above will automatically be installed when this library is.

Installation

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

Uploaded Source

Built Distribution

sscws-0.2.2-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sscws-0.2.2.tar.gz
Algorithm Hash digest
SHA256 bc97abee4f4c003b8dcb9c3b173e6102d0835612f3bc3c1a920b43d5d8ef60c1
MD5 063682f2e0c17eaaad1980293d7a21c8
BLAKE2b-256 9abba799bb37cf29c7e10f1b9cc860be1f43892b04431d83ba2370242b6f451d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sscws-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a6e0a06b2088c92592e5cd755014648f0265fb6705f6146a47e36223374046df
MD5 3fb460be8f18dc5425bf99ea9176cf77
BLAKE2b-256 0b5555a3a20eb42aa1c996573ade10aada9f2e3d92ec75c23f9fb4c3f3a224e0

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