Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Storms from the Sun
The Sun blows a stream of charged particles, the solar wind, past the Earth. When a burst of fast wind arrives with its magnetic field pointing south, it connects to the Earth’s field and pours energy into the magnetosphere. Currents around the Earth grow, and ground magnetometers see the field drop. That drop, the Dst index, measures the storm. Forecasters try to predict it hours ahead so that satellite and grid operators can prepare.
The 1989 Quebec blackout and the loss of 38 Starlink satellites in February 2022 were both caused by geomagnetic storms.
- 1. Geomagnetic storms are driven by…
- 2. Storms are strongest when the solar wind field points…
- 3. During a storm Dst becomes…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.By hand
- Solar wind: speed V of 300–800 km/s; the southward component Bs of its magnetic field controls coupling. The product V·Bs is a dawn–dusk electric field in mV/m.
- Dst index: the hourly disturbance of the horizontal field at low-latitude stations; below −50 nT is a storm, below −250 nT a severe one.
- Burton model: dDst/dt = Q(V·Bs) − Dst/τ, an injection proportional to the electric field above a threshold and decay with time constant τ of a few hours.
- Data: solar wind monitors at L1 (ACE, DSCOVR) give 30 to 60 minutes of warning; OMNI combines them into hourly data.
- ML forecasting: regressions and neural networks (MLPs, LSTMs) on lagged solar wind and Dst; storm-onset classifiers for warnings.
- Rare events: storms occupy a few per cent of hours, so accuracy is misleading; operations use TSS, HSS and the Brier score.
- 1. V·Bs has units of…
- 2. A storm is usually defined by Dst below…
- 3. L1 monitors give a warning time of about…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.The Burton model
Exercise 1.
- Injection Q = −4.4 (V·Bs − 0.5) nT/h when V·Bs exceeds 0.5 mV/m, decay time τ = 7.7 h.
- Hourly solar wind: a quiet AR(1) background around 400 km/s plus storm events (a few per year) with a speed jump of 100–350 km/s and a southward field of 5–18 nT lasting 6–24 hours.
- One step per hour: Dst ← Dst + Q − Dst/τ.
Practice.
- Forecast with information available at the time: no future solar wind, and train only on the past.
- Split by time, never randomly: hours within a storm are strongly correlated.
- Score rare events with TSS, HSS and Brier skill, and report storm-time errors separately.
- Choose the warning threshold for the user, not 0.5 by default.
- Tools: OMNIWeb and the Kyoto WDC for data, SunPy, scikit-learn, PyTorch.
import numpy as np
def burton(V, Bs, tau=7.7):
E = V * Bs * 1e-3
Q = np.where(E > 0.5, -4.4 * (E - 0.5), 0.0)
D, d = np.zeros(len(V)), 0.0
for t in range(len(V)):
d = d + Q[t] - d / tau
D[t] = d
return D- 1. Train/test splits for storms should be…
- 2. Operational warning scores include…
- 3. Hourly solar wind and Dst data come from…
Level 3: Advanced
★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.Theory
Steady state and recovery. With constant driving, dDst/dt = 0 gives Dst = Q·τ. In Exercise 1, V·Bs = 5.5 mV/m gives Q = −22 nT/h and Dst = −169.4 nT. When the driving stops Dst decays as exp(−t/τ), halving in τ ln 2 = 5.3 h; the hourly simulation halved after 5 hours. A simulated year had 631 storm hours and a minimum of −257 nT.
Why the forecast horizon is short. Dst responds to solar wind that has already reached L1. Without upstream data, a forecaster at time t must assume the wind stays as it is. The Burton model with persisted wind and an ARX regression
Dst(t+L) ≈ c + Σ aₖ Dst(t−k) + Σ bₖ (V·Bs)(t−k)
both carry the storm forward, but neither can see a storm that has not yet arrived, so errors grow quickly with lead.
Skill scores for rare events. With hits a, false alarms b, misses c and correct negatives d:
- TSS = a/(a+c) − b/(b+d), the hit rate minus the false-alarm rate. It does not depend on how rare events are.
- HSS compares the proportion correct with what chance would give.
- The Brier score is the mean of (p − y)², and Brier skill is 1 − BS/BS_climatology.
Never warning scores 0 on both TSS and HSS, however high its accuracy.
- 1. Steady Dst under constant driving equals…
- 2. The recovery half-life with τ = 7.7 h is about…
- 3. TSS of a forecast that never warns:
Level 4: Expert
★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.How far ahead can Dst be forecast from solar wind already observed, how do persistence, the physical model and a learned regression compare, and how should storm warnings be scored?
History.
- R. Burton, R. McPherron and C. Russell (1975) introduced the empirical Dst model.
- T. O’Brien and R. McPherron (2000) refined its injection and decay.
- H. Lundstedt and P. Wintoft (1994) and later many authors forecast Dst with neural networks.
- E. Camporeale (2019) reviewed machine learning for space weather; the NOAA SWPC and the Met Office run operational centres.
Exercise 2. Three years of hourly solar wind with storms. Dst comes from the Burton model plus 3 nT of noise. The first two years train and the third tests. Forecasts at 1, 3 and 6 hours use only data up to the forecast time:
- persistence;
- the Burton model run forward with the solar wind held at its last value;
- an ARX regression on six lags of Dst and of V·Bs.
Then a logistic regression on the same inputs warns of a storm (Dst below −50 nT) within the next 6 hours. Seed 0, RMSE in nT (storm hours in brackets):
| lead | persistence | Burton, persisted wind | ARX |
|---|---|---|---|
| 1 h | 5.6 (9.8) | 4.5 (5.7) | 4.0 (5.2) |
| 3 h | 11 (26) | 8.2 (17) | 7.7 (16) |
| 6 h | 18 (46) | 16 (40) | 14 (35) |
| storm within 6 h (base rate 0.14) | accuracy | TSS | HSS |
|---|---|---|---|
| never warn | 0.86 | 0 | 0 |
| logistic, threshold 0.5 | 0.96 | 0.77 | 0.82 |
| logistic, threshold at the base rate | 0.92 | 0.82 | 0.71 |
- The learned regression beat the physical model with persisted wind at every lead, and both beat persistence. But at 6 hours even the ARX error during storms was 35 nT: without upstream data, a storm that has not yet reached L1 cannot be predicted.
- Never warning was 86% accurate but had no skill. Lowering the warning threshold to the base rate raised TSS from 0.77 to 0.82 but lowered HSS from 0.82 to 0.71. The two scores reward different balances of misses and false alarms.
- Brier score: 0.035, against 0.12 for always forecasting the base rate, a skill of 0.71.
- Seeds 1 and 2: 1 h RMSE 5.7, 4.5, 4.1 and 6.0, 4.5, 4.1; 6 h 19, 17, 15 and 22, 19, 16. Base rates 0.11 and 0.12. TSS at threshold 0.5 was 0.75 and 0.77; at the base rate 0.82 in both. Brier 0.029 and 0.028, against 0.098 and 0.1.
Space weather in practice
- Operational centres: NOAA SWPC, the Met Office MOSWOC and ESA issue geomagnetic storm watches and warnings.
- Longer leads: coronagraph images of CMEs and solar magnetograms give one to three days of warning; physics models such as WSA–Enlil propagate the wind from the Sun.
- Machine learning: LSTMs and gradient boosting for Dst and Kp, CNNs on solar images for flare prediction, and probabilistic forecasts with calibrated uncertainty.
- Impacts: satellite drag and charging, GNSS errors, HF radio blackouts and geomagnetically induced currents in power grids.
References
- R. K. Burton, R. L. McPherron and C. T. Russell (1975). “An empirical relationship between interplanetary conditions and Dst.” Journal of Geophysical Research.
- T. P. O’Brien and R. L. McPherron (2000). “An empirical phase space analysis of ring current dynamics.” Journal of Geophysical Research.
- H. Lundstedt and P. Wintoft (1994). “Prediction of geomagnetic storms from solar wind data with the use of a neural network.” Annales Geophysicae.
- E. Camporeale (2019). “The challenge of machine learning in space weather: nowcasting and forecasting.” Space Weather.
- M. A. Bobra and S. Couvidat (2015). “Solar flare prediction using SDO/HMI vector magnetic field data with a machine-learning algorithm.” The Astrophysical Journal.