https://github.com/space-physics/geomagindices
Geomagnetic indices downloader and parser--speedy, simple, and efficient
https://github.com/space-physics/geomagindices
geomagnetic
Last synced: 2 months ago
JSON representation
Geomagnetic indices downloader and parser--speedy, simple, and efficient
- Host: GitHub
- URL: https://github.com/space-physics/geomagindices
- Owner: space-physics
- License: mit
- Created: 2019-03-03T03:06:03.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-12-26T19:15:22.000Z (7 months ago)
- Last Synced: 2025-05-08T08:57:32.868Z (2 months ago)
- Topics: geomagnetic
- Language: Python
- Homepage:
- Size: 139 KB
- Stars: 16
- Watchers: 1
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Geomagnetic Indices
[](https://zenodo.org/badge/latestdoi/173524807)

[](http://pepy.tech/project/geomagindices)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](http://pandas.pydata.org/pandas-docs/stable/reference/frame.html)
(for multiple times)Missing data is returned as `NaN` (Not a Number floating point value).
## Examples
use from other programs like
```python
import geomagindices as giinds = gi.get_indices(datetime)
```where date is Python
[datetime.datetime](https://docs.python.org/3/library/datetime.html), etc.---
```sh
python Examples/PlotIndices.py 2015-01-01 2016-01-01
```
## 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](ftp://ftp.gfz-potsdam.de/pub/home/obs/kp-ap/wdc/)
* [f10.7](ftp://ftp.geolab.nrcan.gc.ca/data/solar_flux/daily_flux_values/fluxtable.txt)Let us know via GitHub Issue if you want this new data.