'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.
The example plot below sums up what this library does. I generated it with this console command: plot_sampex 2007 1 20 --yscale log
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:
-
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.
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sampex-0.3.0.tar.gz
.
File metadata
- Download URL: sampex-0.3.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 752a17c1aa518a467581370f33f865f992047fb4dbc7fe078a6801e1d6fff0c9 |
|
MD5 | 227687387c55deba2eb076fca08c3f6a |
|
BLAKE2b-256 | 8edb51174270f595f49eb68a4f10afc79fae01ac9dcdd6c33dd44bb3a9636578 |
File details
Details for the file sampex-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: sampex-0.3.0-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdcac80523caf65340b054c0473e1c48ea11a96ba5fce82db1313599e876b01b |
|
MD5 | 599d18b0c0bd4b8864c5dee295bf183a |
|
BLAKE2b-256 | 269f116a7b1d850920b191a819ec9985ea2e0f4e747a8051954f1439f43ce09c |