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.3.1.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

sampex-0.3.1-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sampex-0.3.1.tar.gz
Algorithm Hash digest
SHA256 4390f5a4a34b51635a97a8795b81925126f4bc6ca0e2903024896664845acacd
MD5 44102113cea224f421497e30e071b92c
BLAKE2b-256 e8e0000129e9120a08412d969a660a2a0781ceeafad06f99a59ac5088d2d0944

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sampex-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 23.4 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d1f13bb3e69eb5b79b1ebcbeed83fd22e662157050d118ac6bf285fc2cf7621
MD5 4fa18e6bf38d395589fdeab2093af40d
BLAKE2b-256 db311ea7182b79e0bb5f8fb38ba55b601046bfc899e35e918cb26bdc69b2a2bb

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