Download and parse geomagnetic indices
Geomagnetic indices downloader and parser, returns Ap, F10.7 (unsmoothed and smoothed) and Kp. Let us know via GitHub Issue if something is missing.
Output datatype is pandas.DataFrame (for multiple times)
internally, uses pandas.Index.get_loc to find nearest time to request.
use from other programs like
import geomagindices as gi inds = gi.get_indices(date)
where date is Python datetime.date, datetime.datetime, etc.
python PlotIndices.py 2015-01-01 2016-01-01
We should add readers for the new post-SWPC data sources, from 2018 onward as noted at: https://www.celestrak.com/SpaceData/SpaceWx-format.php
Let us know via GitHub Issue if you want this new data.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.