Download and parse geomagnetic indices
Project description
Geomagnetic Data Indices
Geomagnetic indices downloader and parser, returns Ap, F10.7 (unsmoothed and smoothed) and Kp.
This is derived from geomagindices, and has been modified to:
- Support the new post-SWPC data sources for all data dating back to 1932.
- Fix a bug where averaging would not cross year boundaries.
It is a drop-in replacement for geomagindices.
Output datatype is pandas.DataFrame (for multiple times)
internally, uses pandas.Index.get_loc to find nearest time to request.
Missing data is returned as NaN
(Not a Number floating point value).
Installation
$ git clone https://github.com/sunipkm/geomagdata
$ cd geomagdata
$ pip install .
Examples
use from other programs like
import geomagdata as gi
inds = gi.get_indices(date)
where date is Python datetime.date, datetime.datetime, etc.
python Examples/PlotIndices.py 2015-01-01 2016-01-01
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
geomagdata-1.6.1.tar.gz
(13.2 kB
view details)
Built Distribution
File details
Details for the file geomagdata-1.6.1.tar.gz
.
File metadata
- Download URL: geomagdata-1.6.1.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aa33ea0ea233de93fc47bef72c63ba93b339589ca09f020d1f2d5e5bcbe7665 |
|
MD5 | ce138299ac6ef0347daa44f33577667a |
|
BLAKE2b-256 | 3a9abb301e949adc7c3b5bba4ed75ec3626178f0a6ae4b96c3be517c46dc7b61 |
File details
Details for the file geomagdata-1.6.1-py3-none-any.whl
.
File metadata
- Download URL: geomagdata-1.6.1-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e6c8b4404245e9ec47ed7c5afae2345f49f4dbc15eaaeeaecaa542c3667738 |
|
MD5 | 11c248ea3eb1096f9331964c4337c4ad |
|
BLAKE2b-256 | 3c165a4052475b9fa46193c9e96707d3d7ee7a30bced22704700d9240a8b40cd |