'pysat support for Space Weather Indices'
Project description
pysatSpaceWeather: pysat support for Space Weather Indices
This module handles solar and geomagnetic indices needed for scientific and operational projects.
Installation
The following instructions provide a guide for installing pysatSpaceWeather and give some examples on how to use the routines.
Prerequisites
pysatSpaceWeather uses common Python modules, as well as modules developed by and for the Space Physics community. This module officially supports Python 3.7+.
| Common modules | Community modules |
|---|---|
| netCDF4 | pysat >= 3.0.4 |
| numpy | |
| pandas | |
| requests | |
| xarray |
PyPi Installation
pip install pysatSpaceWeather
GitHub Installation
git clone https://github.com/pysat/pysatSpaceWeather.git
Change directories into the repository folder and run the setup.py file. For a local install use the "--user" flag after "install".
cd pysatSpaceWeather/
python setup.py install
Note: pre-0.1.0 version
pysatSpaceWeather is currently in an alpha development phase. Feedback and contributions are appreciated.
Examples
The instrument modules are portable and designed to be run like any pysat instrument.
import pysat
import pysatSpaceWeather
dst = pysat.Instrument(inst_module=pysatSpaceWeather.instruments.sw_dist)
Another way to use the instruments in an external repository is to register the
instruments. This only needs to be done the first time you load an instrument.
Afterward, pysat will identify them using the platform and name keywords.
pysat.utils.registry.register('pysatSpaceWeather.instruments.sw_dst')
dst = pysat.Instrument('sw', 'dst')
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysatSpaceWeather-0.0.8.tar.gz.
File metadata
- Download URL: pysatSpaceWeather-0.0.8.tar.gz
- Upload date:
- Size: 47.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a33c771bcd532b4f2d61c49930c34556fd2194b9c3eed542573ecc2a4490db80
|
|
| MD5 |
1532d2d33fe001a35809189881231d72
|
|
| BLAKE2b-256 |
564cd37b4d889bbd920d2d686738484cdaafe00ee33c1da658b0cc13f73956d6
|
File details
Details for the file pysatSpaceWeather-0.0.8-py3-none-any.whl.
File metadata
- Download URL: pysatSpaceWeather-0.0.8-py3-none-any.whl
- Upload date:
- Size: 61.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8be85444bbb867cb95883354505528f5c72a5c2d366b31646e6f74e2758a25dd
|
|
| MD5 |
072e07e983699727416cfd5964580a9e
|
|
| BLAKE2b-256 |
d60f524b3fca8bc3908e795790a1f1d27471d8d5ffa4bb1732d6a6de11c7795b
|