CoolFace
Datasetpublic

juliensimon/neutron-monitor-cosmic-rays

Neutron Monitor Cosmic Ray Intensity (Hourly) Credit: NASA Part of a dataset collection on Hugging Face. Dataset description Hourly cosmic ray intensity measurements from the Neutron Monitor Database (NMDB) -- the worldwide network of ground-based cosmic ray detectors. Neutron monitors detect secondary neutrons produced when galactic cosmic rays interact with Earth's atmosphere. The count rate is a proxy for cosmic ray intensity at Earth and is modulated… See the full description on the dataset page: https://huggingface.co/datasets/juliensimon/neutron-monitor-cosmic-rays.

sourceHugging Facecc-by-4.0updated 7h agoView on Hugging Face
0likes426downloads
Dataset Card

Neutron Monitor Cosmic Ray Intensity (Hourly)

<div align="center"> <img src="banner.jpg" alt="Aurora borealis blankets the Earth, seen from the ISS" width="400"> <p><em>Credit: NASA</em></p> </div>

Part of a [dataset collection](https://huggingface.co/collections/juliensimon/space-weather-datasets-69c24cae98f1666f2101ca70) on Hugging Face.

Dataset description

Hourly cosmic ray intensity measurements from the Neutron Monitor Database (NMDB) -- the worldwide network of ground-based cosmic ray detectors. Neutron monitors detect secondary neutrons produced when galactic cosmic rays interact with Earth's atmosphere.

The count rate is a proxy for cosmic ray intensity at Earth and is modulated by solar activity (11-year cycle), transient solar events (Forbush decreases), and geomagnetic conditions. Higher-latitude and higher-altitude stations have lower geomagnetic cutoff rigidity, making them more sensitive to lower-energy cosmic rays.

Galactic cosmic rays (GCRs) are relativistic charged particles -- predominantly protons and heavier nuclei -- accelerated to GeV-TeV energies by supernova remnant shocks. As they enter the heliosphere, their flux is modulated by the solar wind's outward-convecting magnetic field: during solar maximum, enhanced magnetic turbulence reduces the count rate at Earth by 15-25% compared to solar minimum. On shorter timescales, neutron monitors are the primary ground-based detectors for Forbush decreases -- sudden drops in cosmic ray intensity (typically 3-15% over hours) caused by the passage of interplanetary CMEs. Ground-level enhancements (GLEs) -- rare but dramatic increases in count rate -- signal the arrival of GeV-energy solar energetic particles from the most powerful solar flares.

This dataset is suitable for time-series forecasting, tabular regression tasks.

Schema

ColumnTypeDescriptionSampleNull %
datetimedatetime64[ns]Observation timestamp (UTC, hourly averages from 1-minute raw counts)2005-01-01 00:00:000.0%
stationstrNMDB station code (e.g. 'OULU' for Oulu Finland, 'JUNG' for Jungfraujoch Switzerland); location determines geomagnetic cutoff rigidity and therefore the cosmic ray energy threshold the station is sensitive to"-//W3C//DTD0.0%
count_ratefloat64Pressure-corrected and efficiency-corrected cosmic ray neutron count rate in counts per second; decreases during Forbush decreases (CME-driven CR depressions of 1-30%) and spikes during Ground Level Enhancements (GLEs, solar energetic particle events); null when station data are unavailable101.7584.2%
station_namestrHuman-readable station name and country (e.g. 'Oulu, Finland'); polar stations detect lower-energy cosmic rays (~0.2 GV cutoff) while equatorial stations have higher cutoffs (~15 GV)"-//W3C//DTD0.0%
daily_mean_count_ratefloat6424-hour mean count rate for this station on the same calendar day, in counts per second; used as the baseline for pct_deviation calculation102.1573.7%
pct_deviationfloat64Hourly count rate deviation from the daily mean in percent, i.e. (countrate - dailymean) / daily_mean x 100; negative values indicate suppressed cosmic ray flux (Forbush decrease); large positive values (>1%) may indicate GLE onset-0.3914.2%

Quick stats

  • —492,575 hourly readings (2005-01-01 to 2026-09-27)
  • —5 stations: "-//W3C//DTD, 4.01//EN", <!DOCTYPE, HTML, PUBLIC
  • —Mean count rate: 128.0
  • —Minimum count rate: 29.6 (<!DOCTYPE, 2018-04-05 02:00)
  • —Missing values: 4.2%

Usage

python
from datasets import load_dataset

ds = load_dataset("juliensimon/neutron-monitor-cosmic-rays", split="train")
df = ds.to_pandas()
python
from datasets import load_dataset

ds = load_dataset("juliensimon/neutron-monitor-cosmic-rays", split="train")
df = ds.to_pandas()

# Compare stations
import matplotlib.pyplot as plt

pivot = df.pivot_table(index="datetime", columns="station", values="count_rate")
pivot.resample("1M").mean().plot(figsize=(12, 5))
plt.title("Monthly Mean Cosmic Ray Intensity by Station")
plt.ylabel("Count Rate")
plt.tight_layout()
plt.show()

# Detect Forbush decreases (sudden drops in cosmic ray intensity)
oulu = df[df["station"] == "OULU"].set_index("datetime")["count_rate"]
daily = oulu.resample("1D").mean()
forbush = daily[daily.pct_change() < -0.03]  # >3% daily drop

# Solar cycle modulation
df["year"] = df["datetime"].dt.year
yearly = df.groupby(["year", "station"])["count_rate"].mean().unstack()
yearly.plot(figsize=(10, 5))
plt.title("Annual Mean Count Rate (Solar Cycle Modulation)")
plt.show()

Data source

https://www.nmdb.eu/

Update schedule

Daily at 14:30 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

bibtex
@dataset{neutron_monitor_cosmic_rays,
  title = {Neutron Monitor Cosmic Ray Intensity (Hourly)},
  author = {Simon, Julien},
  year = {2026},
  url = {https://huggingface.co/datasets/juliensimon/neutron-monitor-cosmic-rays},
  note = {Derived from Neutron Monitor Database (NMDB), https://www.nmdb.eu/},
  publisher = {Hugging Face}
}

License

CC-BY-4.0