Skip to main content

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:

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

2015 Ap F10.7

Project details


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)

Uploaded Source

Built Distribution

geomagdata-1.6.1-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page