Skip to main content

NASA's Satellite Situation Center Web Service Client Library

Project description

Synopsis

NASA's Satellite Situation Center (SSC) is a system to cast geocentric spacecraft location information into a framework of (empirical) geophysical regions and mappings of spacecraft locations along lines of the Earth's magnetic field.
This library implements the client side of the SSC RESTful web services and can return data for any of these spacecraft. 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

This "Getting Started" page contains information to help someone begin using the sscws library to access information from the Satellite Situation Center in a Python program.


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. Radial Conjunction With Ground Location (ipynb file).
  4. Magnetic Field Line Conjunction Example (ipynb file) with related data retrieval/plotting using cdasws.

These notebooks are also available on Binder.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sscws-2.4.3.tar.gz (51.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sscws-2.4.3-py3-none-any.whl (63.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sscws-2.4.3.tar.gz
  • Upload date:
  • Size: 51.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.20

File hashes

Hashes for sscws-2.4.3.tar.gz
Algorithm Hash digest
SHA256 ab4d5dcb9d6233bbca2be94bac6ef476384342e48882d77bedc3306c0fe5dff9
MD5 44b6d503090cac5a4e11906585564b47
BLAKE2b-256 fa5abca82dcecb5ee8bcd6c6578104bee09ab9ab74f38d27404c5b0196a9d137

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sscws-2.4.3-py3-none-any.whl
  • Upload date:
  • Size: 63.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.20

File hashes

Hashes for sscws-2.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 caa399e2f61438c98d5ad993feadf43cb489b25badf33948b2861305ac97ba37
MD5 7796ab20e2f3080ebef5071889161007
BLAKE2b-256 e67279907321e8ab993cdd2238ece6e9cb189f59d66366bd029859eba2a76d4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page