juliensimon/solar-flare-events
Solar Flare Events (GOES X-ray) Credit: NASA/SDO Part of a dataset collection on Hugging Face. Dataset description Individual solar flare detections from GOES X-ray sensors (2017-present) with class, peak flux, and timing. Updated daily. Solar flares are sudden bursts of electromagnetic radiation from the Sun. They are classified by peak X-ray flux in the 1-8 Angstrom band: B (< 10^-6 W/m2), C (10^-6), M (10^-5), and X (10^-4 W/m2). M and X-class flares… See the full description on the dataset page: https://huggingface.co/datasets/juliensimon/solar-flare-events.
Solar Flare Events (GOES X-ray)
<div align="center"> <img src="banner.jpg" alt="A solar eruption captured by NASA's Solar Dynamics Observatory" width="400"> <p><em>Credit: NASA/SDO</em></p> </div>
Part of a [dataset collection](https://huggingface.co/collections/juliensimon/space-weather-datasets-69c24cae98f1666f2101ca70) on Hugging Face.
Dataset description
Individual solar flare detections from GOES X-ray sensors (2017-present) with class, peak flux, and timing. Updated daily.
Solar flares are sudden bursts of electromagnetic radiation from the Sun. They are classified by peak X-ray flux in the 1-8 Angstrom band: B (< 10^-6 W/m2), C (10^-6), M (10^-5), and X (10^-4 W/m2). M and X-class flares can cause radio blackouts, GPS errors, satellite anomalies, and geomagnetic storms that increase atmospheric drag on LEO satellites.
Solar flares originate in magnetically complex active regions where stressed field lines reconnect explosively, converting stored magnetic energy into thermal radiation, accelerated particles, and bulk plasma motion in a matter of minutes. The GOES X-Ray Sensor (XRS) measures the Sun-integrated soft X-ray flux in two broadband channels (0.5-4 A and 1-8 A), with the 1-8 A band used for the standard classification system. The classification is logarithmic: an X1.0 flare has 10 times the peak flux of an M1.0 flare. Within each letter class, the numeric suffix scales linearly.
The timing profile of a flare -- start, peak, and end -- encodes physically meaningful information. The impulsive phase (start to peak) typically lasts 5-20 minutes and corresponds to the primary energy release via magnetic reconnection. The gradual phase (peak to end) can extend for hours as post-flare loops cool. Short-duration impulsive flares tend to be confined events, while long-duration events (LDEs) are more often associated with coronal mass ejections and solar energetic particle events.
This dataset is suitable for tabular classification, time-series forecasting tasks.
Schema
Quick stats
- 16,113 flare events (2017-02-09 to 2026-09-23)
- 9,614 C-class, 1,609 M-class, 82 X-class flares
- Strongest flare: C1.6 on 2026-09-23 01:01
Usage
from datasets import load_dataset
ds = load_dataset("juliensimon/solar-flare-events", split="train")
df = ds.to_pandas()from datasets import load_dataset
ds = load_dataset("juliensimon/solar-flare-events", split="train")
df = ds.to_pandas()
# M and X class flares only
major = df[df["goes_class_letter"].isin(["M", "X"])]
# Flare frequency over time
import matplotlib.pyplot as plt
df["month"] = df["start_time"].dt.to_period("M")
monthly = df.groupby("month").size()
monthly.plot(figsize=(12, 4), title="Monthly Flare Count")
plt.ylabel("Flares")
plt.tight_layout()
plt.show()
# Flare duration distribution
df["duration_min"] = (df["end_time"] - df["start_time"]).dt.total_seconds() / 60
df["duration_min"].hist(bins=50)
plt.xlabel("Duration (minutes)")
plt.title("Flare Duration Distribution")
plt.show()Data source
https://data.ngdc.noaa.gov/platforms/solar-space-observing-satellites/goes/goes16/l2/data/xrsf-l2-flsum_science/
Update schedule
Daily at 12:00 UTC
Related datasets
If you find this dataset useful, please consider giving it a like on Hugging Face. It helps others discover it.
About the author
Created by Julien Simon — AI Operating Partner at Fortino Capital. Part of the Space Datasets collection.
Citation
@dataset{solar_flare_events,
title = {Solar Flare Events (GOES X-ray)},
author = {Simon, Julien},
year = {2026},
url = {https://huggingface.co/datasets/juliensimon/solar-flare-events},
note = {Derived from NOAA National Centers for Environmental Information, https://data.ngdc.noaa.gov/platforms/solar-space-observing-satellites/goes/goes16/l2/data/xrsf-l2-flsum_science/},
publisher = {Hugging Face}
}