Skip to main content

Download and parse geomagnetic indices

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for geomagindices, version 1.4.0
Filename, size File type Python version Upload date Hashes
Filename, size geomagindices-1.4.0.tar.gz (13.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page