Skip to content

Geomagnetic indices downloader and parser--speedy, simple, and efficient

License

Notifications You must be signed in to change notification settings

space-physics/geomagindices

Repository files navigation

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)

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(datetime)

where date is Python 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.