geomagindices

Download and parse geomagnetic indices


Keywords
aeronomy, aurora, ionosphere, geomagnetic
License
MIT
Install
pip install geomagindices==1.4.0

Documentation

Geomagnetic Indices

DOI Actions Status PyPi version PyPi Download stats

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.

Missing data is returned as NaN (Not a Number floating point value).

Examples

use from other programs like

import geomagindices 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

2015 Ap F10.7

Notes

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

  • Kp, Ap
  • f10.7

Let us know via GitHub Issue if you want this new data.