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:
- Simple Location Example (ipynb file)demonstrating a simple 3D plot of orbit information.
- 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.
- 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:
- requests
- numpy
- matplotlib. This is an optional 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
or to include plotting $ pip install -U sscws[plot]
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sscws-0.2.4.tar.gz
.
File metadata
- Download URL: sscws-0.2.4.tar.gz
- Upload date:
- Size: 36.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.27.1 setuptools/59.6.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ab994538c4d742fa0baea3d9f37541c829177096d4058c6ef0de4f989a1246e |
|
MD5 | 32a2858e975549edac1d406d0681ad1a |
|
BLAKE2b-256 | de80c644ce9ac84eba604111e89f3b5dd191d06a36da5c9255763166c295a6f8 |
File details
Details for the file sscws-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: sscws-0.2.4-py3-none-any.whl
- Upload date:
- Size: 55.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.27.1 setuptools/59.6.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb62d50cdd2fab0a91e0e3a8239ec33c615537ad15ae51cb405e417d83f2d19f |
|
MD5 | 3db014a7b2621c37c88856ab71350a22 |
|
BLAKE2b-256 | 6e5851e19a60e5c299be37461876016884f63ec9195b892ce555562be2880683 |