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.

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

The only required dependencies are the following:

  1. requests
  2. numpy
  3. pydantic

If you want to take advantage of HTTP caching, then install the following:

  1. requests-cache.

If you want the example to display a plot of some data, then install the following:

  1. matplotlib.

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

Installation

To install this package

$ pip install -U sscws

or to include the optional packages

$ pip install -U sscws[plot,cache]

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.5.0.tar.gz (55.6 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.5.0-py3-none-any.whl (82.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sscws-2.5.0.tar.gz
  • Upload date:
  • Size: 55.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for sscws-2.5.0.tar.gz
Algorithm Hash digest
SHA256 24f76a7fc38c5c99e32eb5a3d9c826762cd871c41e7c17d1e5e044cfca7ffd78
MD5 cab468d1e679672143e48c6b8d08630f
BLAKE2b-256 22aa272765453833285685b1d1100071d7f94db7e0c87c7760dcf60fca50e778

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sscws-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 82.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for sscws-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 346773599ebd001c91cd5345d775ddd482b06a3c2c2ddd35dee5cb9a4c5212ee
MD5 065098eaa84d9eee0b9e2e3c307f3d4d
BLAKE2b-256 140556ae533b218d2ccb1afb69aac819659342ef1f4d3651c571ff868aaba475

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