Fantazma2211 juliensimon commited on
Commit
af76fd1
·
0 Parent(s):

Duplicate from juliensimon/geomagnetic-kp-index

Browse files

Co-authored-by: Julien Simon <juliensimon@users.noreply.huggingface.co>

Files changed (4) hide show
  1. .gitattributes +60 -0
  2. README.md +145 -0
  3. banner.jpg +3 -0
  4. data/kp_index.parquet +3 -0
.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: "Geomagnetic Kp Index (3-Hourly)"
4
+ language:
5
+ - en
6
+ description: "3-hourly geomagnetic Kp index from NOAA SWPC, measuring planetary magnetic disturbance on a 0-9 scale. Updated daily, growing incrementally. The Kp index is a quasi-logarithmic scale (0-9) that quant"
7
+ task_categories:
8
+ - time-series-forecasting
9
+ - tabular-classification
10
+ tags:
11
+ - space
12
+ - space-weather
13
+ - kp-index
14
+ - geomagnetic
15
+ - noaa
16
+ - magnetosphere
17
+ - aurora
18
+ - open-data
19
+ - tabular-data
20
+ - parquet
21
+ size_categories:
22
+ - n<1K
23
+ configs:
24
+ - config_name: default
25
+ data_files:
26
+ - split: train
27
+ path: data/kp_index.parquet
28
+ default: true
29
+ ---
30
+
31
+ # Geomagnetic Kp Index (3-Hourly)
32
+
33
+
34
+ <div align="center">
35
+ <img src="banner.jpg" alt="Aurora borealis blankets the Earth, seen from the ISS" width="400">
36
+ <p><em>Credit: NASA</em></p>
37
+ </div>
38
+
39
+
40
+ *Part of a [dataset collection](https://huggingface.co/collections/juliensimon/space-weather-datasets-69c24cae98f1666f2101ca70) on Hugging Face.*
41
+
42
+ ## Dataset description
43
+
44
+ 3-hourly geomagnetic Kp index from NOAA SWPC, measuring planetary magnetic disturbance on a 0-9 scale. Updated daily, growing incrementally.
45
+
46
+ The Kp index is a quasi-logarithmic scale (0-9) that quantifies geomagnetic disturbance based on magnetometer readings from 13 ground stations worldwide. It is the basis for the NOAA G-scale storm classification: quiet (Kp 0-4), G1 minor (Kp=5), G2 moderate (Kp=6), G3 strong (Kp=7), G4 severe (Kp=8), G5 extreme (Kp=9).
47
+
48
+ The Kp index was introduced by Julius Bartels in 1949 and remains one of the most widely used geomagnetic activity measures in space physics and space operations. It is computed every 3 hours from the maximum deviation of the horizontal magnetic field component at each of 13 subauroral magnetometer stations, after removing the quiet-day baseline variation. The conversion from linear nanotesla deviations to the quasi-logarithmic K scale means that each unit step represents roughly a doubling of disturbance amplitude: K=5 corresponds to about 70 nT variation, while K=9 corresponds to over 500 nT.
49
+
50
+ Operationally, Kp is the primary input to the NOAA G-scale storm classification used by satellite operators, power grid managers, and aviation authorities. The associated Ap index (a linearized daily average derived from Kp) is a required input for NRLMSISE-00 and JB2008 thermospheric density models, which drive satellite drag computation. During a G3 storm (Kp=7), atmospheric drag at 400 km altitude can increase by a factor of 2-3, causing significant orbital decay for LEO assets including the ISS and Starlink satellites.
51
+
52
+ This dataset is suitable for **time-series forecasting, tabular classification** tasks.
53
+
54
+ ## Schema
55
+
56
+ | Column | Type | Description | Sample | Null % |
57
+ |--------|------|-------------|--------|--------|
58
+ | `datetime` | datetime64[ns] | Start timestamp of the 3-hour observation window (UTC). Kp is reported at 00, 03, 06, 09, 12, 15, 18, and 21 UT each day — 8 readings per day. | 2026-03-17 00:00:00 | 0.0% |
59
+ | `kp_value` | float64 | Planetary K-index (Kp), a quasi-logarithmic scale (0.0-9.0) measuring global geomagnetic disturbance. Derived from standardized magnetometer readings at up to 13 mid-latitude observatories worldwide. Values >=5 indicate a geomagnetic storm; >=7 indicate a severe storm capable of disrupting power grids and satellites. | 2.0 | 0.0% |
60
+ | `ap_running` | int64 | Running 24-hour average of the ap index, the linear-scale equivalent of Kp (range 0-400 nT). More mathematically convenient than Kp for averaging and modeling. Used as a required input to atmospheric drag models such as NRLMSISE-00 and JB2008. | 7 | 0.0% |
61
+ | `station_count` | int64 | Number of geomagnetic observatories that contributed data for this 3-hour window (maximum 13). Counts below ~5 reduce index reliability; null or low counts are common for historical records before 1960. | 8 | 0.0% |
62
+ | `storm_level` | string | NOAA geomagnetic storm scale: quiet (Kp<5), G1 (Kp=5, minor), G2 (Kp=6, moderate), G3 (Kp=7, strong), G4 (Kp=8, severe), G5 (Kp=9, extreme). G3+ events can cause HF radio blackouts, GPS degradation, and increased satellite drag. | quiet | 0.0% |
63
+
64
+ ## Quick stats
65
+
66
+ - **461** readings (2026-03-17 to 2026-05-13)
67
+ - Average Kp: **2.3**, Maximum: **7.0**
68
+ - **28** storm-level readings (Kp >= 5)
69
+
70
+ ## Usage
71
+
72
+ ```python
73
+ from datasets import load_dataset
74
+
75
+ ds = load_dataset("juliensimon/geomagnetic-kp-index", split="train")
76
+ df = ds.to_pandas()
77
+ ```
78
+
79
+ ```python
80
+ from datasets import load_dataset
81
+
82
+ ds = load_dataset("juliensimon/geomagnetic-kp-index", split="train")
83
+ df = ds.to_pandas()
84
+
85
+ # Storm events
86
+ storms = df[df["kp_value"] >= 5]
87
+ print(f"{len(storms)} storm readings")
88
+
89
+ # Kp time series
90
+ import matplotlib.pyplot as plt
91
+
92
+ fig, ax = plt.subplots(figsize=(12, 4))
93
+ ax.plot(df["datetime"], df["kp_value"], linewidth=0.5)
94
+ ax.axhline(5, color="red", linestyle="--", alpha=0.5, label="Storm threshold (Kp>=5)")
95
+ ax.set_ylabel("Kp Index")
96
+ ax.set_title("Geomagnetic Kp Index")
97
+ ax.legend()
98
+ plt.tight_layout()
99
+ plt.show()
100
+
101
+ # Storm level distribution
102
+ df["storm_level"].value_counts().plot.bar()
103
+ plt.title("Kp Storm Level Distribution")
104
+ plt.show()
105
+ ```
106
+
107
+ ## Data source
108
+
109
+ https://www.swpc.noaa.gov/products/planetary-k-index
110
+
111
+ ## Update schedule
112
+
113
+ Daily at 15:30 UTC
114
+
115
+ ## Related datasets
116
+
117
+ - [juliensimon/dst-index](https://huggingface.co/datasets/juliensimon/dst-index)
118
+
119
+ - [juliensimon/solar-wind](https://huggingface.co/datasets/juliensimon/solar-wind)
120
+
121
+ - [juliensimon/space-weather-indices](https://huggingface.co/datasets/juliensimon/space-weather-indices)
122
+
123
+ - [juliensimon/donki-space-weather-events](https://huggingface.co/datasets/juliensimon/donki-space-weather-events)
124
+
125
+ > If you find this dataset useful, please consider [giving it a like](https://huggingface.co/datasets/juliensimon/geomagnetic-kp-index) on Hugging Face. It helps others discover it.
126
+
127
+ ## About the author
128
+
129
+ Created by [Julien Simon](https://julien.org) — AI Operating Partner at Fortino Capital. Part of the [Space Datasets](https://julien.org/datasets) collection.
130
+
131
+ ## Citation
132
+
133
+ ```bibtex
134
+ @dataset{geomagnetic_kp_index,
135
+ title = {Geomagnetic Kp Index (3-Hourly)},
136
+ author = {juliensimon},
137
+ year = {2026},
138
+ url = {https://huggingface.co/datasets/juliensimon/geomagnetic-kp-index},
139
+ publisher = {Hugging Face}
140
+ }
141
+ ```
142
+
143
+ ## License
144
+
145
+ [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/)
banner.jpg ADDED

Git LFS Details

  • SHA256: 05e8bd2016bc80c72873385305492acdd1aea7c59bb5a33d260645a56b4f4687
  • Pointer size: 130 Bytes
  • Size of remote file: 65.8 kB
data/kp_index.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27690ece81f98e9291417fb731b738e88414bda68c60e90b85c60217558e61c5
3
+ size 8164