Skip to main content

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.


Badge for the repository entry r3d100010168 in re3data

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. httpx2
  2. numpy
  3. pydantic

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

  1. hishel.

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)

See also description llms.txt

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

Metadata

Release files for sscws 2.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sscws 2.5.3
File Size Uploaded Provenance Actions
sscws-2.5.3.tar.gz 56.8 kB Without provenance Details for sscws-2.5.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sscws 2.5.3
File Interpreter ABI Platform Actions
sscws-2.5.3-py3-none-any.whl Python 3 none any Details for sscws-2.5.3-py3-none-any.whl

Total release size: 140.6 kB

Release files / sscws-2.5.3.tar.gz

Download URL sscws-2.5.3.tar.gz
Size 56.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a2044acb1c0fde74673888845d5815c0a812666c31879b56e81707f439a2818c
BLAKE2b-256 checksum
How to use checksums
f1679619cc8bc3f87752c6821f2475668bbc3088f80ba4b2c3d212bf4bb06dbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.15

Release files / sscws-2.5.3-py3-none-any.whl

Download URL sscws-2.5.3-py3-none-any.whl
Size 83.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28f62f31860a50c3eb0790be3de96e4951eeddf6b26a8e8996bb63548835f933
BLAKE2b-256 checksum
How to use checksums
8fc5335f8c47b32d7b63ee29189a0df53fc664362195a2fb96710283b323734a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.15

Security for sscws 2.5.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.5.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page