Skip to main content

'Programs to load and plot the SAMPEX satellite data.'

Project description

sampex

Easily load and plot data from the Solar Anomalous and Magnetospheric Particle Explorer (SAMPEX) satellite that operated from 1992-2012. This library currently loads data from the HILT, PET, and LICA instruments, as well as the attitide files.

Documentation

The example plot below sums up what this library does. I generated it with this console command: plot_sampex 2007 1 20 --yscale log Example SAMPEX data from the HILT, PET, and LICA instruments

Install

Installing this package is as simple as

python3 -m pip install sampex

If you want to develop this package, run

git clone git@github.com:mshumko/sampex.git
cd sampex

Then one of these commands to install sampex into a virtual environment:

python3 -m pip install -e .

or

python3 -m pip install -r requirements.txt 

Get started

Before you can load the SAMPEX data you'll need to do two things:

  1. Download the SAMPEX data to a folder. wget is great for this. Write down the top-level SAMPEX data directory as you'll need it in step 2.

  2. Configure this package as it needs to know what directory to begin searching for the SAMPEX data.

    python3 -m sampex config
    

    and in the prompt paste the top-level SAMPEX data directory.

Examples

There are a handful of examples in the documentation

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

sampex-0.2.1.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

sampex-0.2.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file sampex-0.2.1.tar.gz.

File metadata

  • Download URL: sampex-0.2.1.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for sampex-0.2.1.tar.gz
Algorithm Hash digest
SHA256 10c7e1d014ccc86713edb1bd6d44375aa29e931397d4c0c666d6241ebd8cdf28
MD5 4c38374210a77f473ef1cc169dc0125c
BLAKE2b-256 51d17be17d9b95f16fa97118ac5aa6b7517b25dd5fff795d2ce0152b2851e448

See more details on using hashes here.

File details

Details for the file sampex-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: sampex-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for sampex-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba19a05d3fef9c0038c44b7b7ef75bbe08e946ede908241d5df432989d953961
MD5 0cf038c41c67af8b80d3beb94389245e
BLAKE2b-256 aa8e58b86230501cc8572f0d595b151ffbefa325d8ac9a5213a7763e3d290cc1

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