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 hashes)
Built Distribution
geomagdata-1.6.1-py3-none-any.whl
(13.1 kB
view hashes)
Close
Hashes for geomagdata-1.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e6c8b4404245e9ec47ed7c5afae2345f49f4dbc15eaaeeaecaa542c3667738 |
|
MD5 | 11c248ea3eb1096f9331964c4337c4ad |
|
BLAKE2b-256 | 3c165a4052475b9fa46193c9e96707d3d7ee7a30bced22704700d9240a8b40cd |