Data & Methods

Data Sources

Aurora Forecast Data

Aurora probability data is sourced from NOAA's Space Weather Prediction Center (SWPC) using the OVATION Aurora model. This data is updated every 5 minutes and provides auroral activity forecasts based on current solar wind conditions.

  • Source: SWPC OVATION Aurora JSON API
  • Update Frequency: Every 5 minutes
  • Coverage: Global (both northern and southern hemispheres)
  • Data Points: ~1000 geographic coordinates with aurora probability percentages

Geomagnetic Activity (Kp Index)

The planetary K-index (Kp) is a global geomagnetic activity indicator ranging from 0 to 9. It measures disturbances in Earth's magnetic field caused by solar wind and is crucial for predicting aurora visibility and potential impacts on infrastructure.

  • Source: SWPC Planetary K-index Forecast API
  • Update Frequency: Every 3 hours
  • Data Includes: Current observed Kp, historical daily maximums, and 2-day forecasts
  • Activity Levels:
    • Kp 0-2: Quiet conditions
    • Kp 3-4: Unsettled/Active conditions
    • Kp 5-6: Minor to moderate geomagnetic storm
    • Kp 7-9: Strong to extreme geomagnetic storm

Solar Wind

Solar wind conditions are tracked two ways: real-time measurements from spacecraft stationed at the L1 Lagrange point (about 1.5 million km sunward of Earth), and the Wang-Sheeley-Arge (WSA)-Enlil model — a physics-based numerical model that forecasts the ambient solar wind and the propagation of coronal mass ejections (CMEs) from the Sun to Earth.

  • Real-time source: SWPC Propagated Solar Wind (L1 measurements time-shifted to their arrival at Earth), with the raw plasma and magnetic field real-time feeds as fallback
  • Spacecraft: SOLAR-1 (NOAA's primary source since June 2026), with ACE as backup and IMAP on standby, all near L1
  • Forecast source: SWPC WSA-Enlil Time Series
  • Update Frequency: Real-time feeds every minute; Enlil forecast hourly
  • Data Includes:
    • Solar wind speed (radial velocity)
    • Solar wind density (particles per cm³)
    • Solar wind temperature
    • Interplanetary magnetic field (IMF) components — Bx, By, Bz, Bt
    • Modeled CME arrival predictions
  • Forecast Range: Up to 4 days ahead

Space Weather Alerts

Real-time alerts and warnings issued by NOAA SWPC for significant space weather events, including solar flares, geomagnetic storms, solar radiation storms, and radio blackouts.

  • Source: SWPC Alerts API
  • Update Frequency: Real-time (checked every 15 minutes)
  • Alert Types: Watches, Warnings, Alerts, Summaries, and Extended Warnings

Solar Imagery (SDO & Helioviewer)

Real-time solar images come from NASA's Solar Dynamics Observatory (SDO), which continuously observes the Sun in multiple wavelengths of ultraviolet and visible light. SDO carries two imaging instruments: the Atmospheric Imaging Assembly (AIA) and the Helioseismic and Magnetic Imager (HMI). Imagery is served both directly from NASA SDO and through the Helioviewer Project API.

  • Sources: NASA SDO Latest Images and the Helioviewer API
  • Update Frequency: Images updated approximately every 15 minutes
  • Resolutions: 512×512 (preview) and 2048×2048 (full resolution)
  • AIA Wavelengths:
    • 94 Å: Flaring regions (Fe XVIII, ~6.3 million K)
    • 131 Å: Flaring regions (Fe VIII/XXI, ~0.4/10 million K)
    • 171 Å: Quiet corona and coronal loops (Fe IX, ~0.6 million K)
    • 193 Å: Corona and hot flare plasma (Fe XII/XXIV, ~1.2/20 million K)
    • 211 Å: Active regions (Fe XIV, ~2 million K)
    • 304 Å: Chromosphere and transition region (He II, ~50,000 K)
    • 335 Å: Active regions (Fe XVI, ~2.5 million K)
    • 1600 Å: Transition region and upper photosphere (C IV, ~100,000 K)
    • 1700 Å: Solar surface and temperature minimum (continuum, ~5,000 K)
  • HMI Products:
    • Intensitygram: Photospheric continuum intensity (sunspot imaging)
    • Magnetogram: Line-of-sight magnetic field strength
    • Dopplergram: Line-of-sight velocity (solar surface motion)

Magnetosphere Visualization

The magnetosphere widget visualizes Earth's magnetic field lines deformed by real-time solar wind conditions. It uses a Luhmann-Friesen field model (dipole + tail current sheet) with RK4 field line integration, driven by live SWPC solar wind measurements. On top of the field it draws the plasma that moves through it: the solar wind outside, and inside the circulation that powers the aurora (the Dungey cycle). The magnetosphere page explains the picture in plain language; the details are here.

  • Source: the same real-time solar wind as above (SWPC Propagated Solar Wind) — IMF Bx, By, Bz, Bt, speed and density
  • Update Frequency: Every minute
  • Physics Model:
    • Dipole field tilted 11° from Earth's rotation axis, leaning a few degrees further with Bz
    • Tail current sheet: BT × tanh(y/δ) for nightside stretching
    • Magnetopause standoff: R0 ~ Pdyn-1/6 (Shue et al.)
    • Dayside radial damping near Shue boundary for confinement
    • Dynamic pressure: Pdyn = 1.67×10-6 × Np × V2
    • Bow shock: fast magnetosonic Mach number M = V / √(vA2 + cs2), with a proton and electron temperature of 105 K assumed (the live data carry none). Standoff from Farris & Russell (1994), RBS = R0 [1 + 1.1 ((γ−1)M2 + 2) / ((γ+1)(M2 − 1))], γ = 5/3, capped at 2.2 R0; shape a conic r = L / (1 + 0.81 cosθ)
  • Visual Parameters:
    • Quiet: R0 ~ 10 RE, BT = 0.003
    • Storm: R0 ~ 6 RE, BT = 0.015
    • Coupling metric: southward Bz × (V/400) normalized 0–1
  • What Is Drawn:
    • Blue lines: traced field lines. A change of conditions deforms the existing lines; it does not redraw them
    • Pale blue to orange haze: solar wind flowing around the magnetopause, brighter where it is compressed in the magnetosheath and entering through the two polar cusps. The colour warms with southward Bz (fully orange at 15 nT). Upstream of the bow shock it is undisturbed; across the shock its velocity component normal to the shock drops by the Rankine–Hugoniot compression ratio for the local normal Mach number, so the jump is strongest at the nose and weakens down the flanks
    • Gold and pale blue shells: the bow shock and the magnetopause, drawn as glowing rims. Both follow the conditions continuously
    • Violet: the tail plasma sheet flowing earthward from the reconnection region, the faint lobe inflow that refills it, and the plasmoid released down the tail
    • Green: plasma following the field lines down to both hemispheres, and the auroral band on the globe where it lands
    • Magenta: the ring current, trapped plasma bouncing along closed field lines near Earth and drifting westward
  • Aurora Latitude: set by how close to Earth the plasma sheet reaches before it takes to the field lines, mapped through the field model. The band is centred near 68° magnetic latitude when quiet, 63° at G1, 56° at G3 and 47° at G5, and spreads from about ±27° to ±60° of local time around midnight. This is where the oval is overhead; it is visible from further equatorward
  • Substorms: under southward Bz the tail loads and unloads in pulses. The tail lines stretch, a fast front runs earthward from a near-Earth reconnection site, the aurora brightens and steps poleward, the lines snap back (dipolarization) and a plasmoid leaves tailward. None occur under northward Bz
  • Ring Current: fed by injections near midnight at a rate that follows the coupling, plus a puff at each substorm. It moves inward from about 4.5–6.5 RE when quiet to 2.3–4.2 RE at G5, is stronger on the dusk side while it is being fed, and becomes symmetric as it decays
  • Storm Buttons: Calm and G1–G5 replace the live values with fixed representative conditions for that level; Live returns to the measured wind
  • Limitations:
    • An illustration built on simple analytic models, not a magnetohydrodynamic simulation
    • Distances are to scale in Earth radii; time is compressed. A substorm cycle of hours plays in 9–18 seconds and a ring current that decays over days fades in under a minute
    • The field model has no reconnection of its own, so the reconnection sites, flow speeds and particle brightness are staged to follow the coupling metric
    • The ring current follows a pure dipole, only the westward ion drift is shown, and its weakening of the surface field (Dst) is not modelled
    • The auroral band is symmetric about midnight and comes from the model, not from the OVATION forecast used on the aurora page

Solar Active Regions

Active region data (sunspot groups) is sourced from NOAA SWPC's Solar Region Summary, the daily synthesis that reconciles reports from all contributing solar observatories into one authoritative record per numbered region. Positions are quoted for 2400 UT and we rotate them forward to the present, so each marker sits where its region is now rather than where it was observed.

  • Source: SWPC Solar Region Summary API
  • Update Frequency: Issued daily (~00:30 UT); positions recomputed for the current time on every request
  • Data Includes: NOAA AR number, heliographic coordinates, sunspot count, area (millionths of the solar hemisphere), spot classification (modified Zurich), magnetic classification (Mount Wilson), SWPC's 24-hour C/M/X flare and proton probabilities, and the flares each region produced

Solar Flares

Solar flare data combines real-time X-ray measurements from NOAA's GOESsatellites with NASA's DONKI flare catalog. GOES reports the live flare class as it happens, while DONKI adds the historical record of past flares, their source regions, and links to associated eruptions.

  • Sources: SWPC GOES X-ray Flares and NASA DONKI
  • Update Frequency: GOES near real-time; DONKI catalog updated daily
  • Data Includes: Flare class (A/B/C/M/X), begin/peak/end times, source active region, and heliographic location

Coronal Mass Ejections (CMEs)

CME data comes from NASA's DONKI (Space Weather Database Of Notifications, Knowledge, Information), which catalogs coronal mass ejections identified in coronagraph imagery along with WSA-Enlil model predictions of their speed, direction, and Earth arrival.

  • Source: NASA DONKI (CME and CME Analysis), with WSA-Enlil arrival modeling
  • Coronagraphs: CMEs are identified in images from SOHO (LASCO), STEREO-A (COR2) and GOES-19 (CCOR-1)
  • Update Frequency: Active CMEs refreshed every ~15 minutes; catalog updated daily
  • Data Includes: Start time, speed, angular width (half-angle), source location and active region, predicted Earth arrival, and any associated geomagnetic storm

Data Processing

Aurora Visualization

Raw OVATION data is processed to create smooth, visually appealing aurora textures:

  • Gaussian Blur: Sparse data points are smoothed to eliminate harsh contours and create natural-looking aurora gradients
  • Bilinear Interpolation: Smooth sampling between data points for continuous probability values
  • Color Mapping: Probability percentages are mapped to a dynamic color gradient
    • 0-10%: Neon green with opacity fade-in
    • 10-50%: Green → Yellow transition
    • 50-90%: Yellow → Red transition
    • 90-100%: Red → Dark red

Aurora Probability Sampling

Aurora probability values at specific locations are calculated using rounded bilinear interpolation on the raw OVATION data grid.

Geomagnetic Index Visualization

Kp index data is processed to create an intuitive historical and forecast visualization:

  • Data Separation: Observed readings are separated from forecast predictions based on the "observed" flag
  • Daily Aggregation: Multiple 3-hour Kp readings per day are aggregated to show daily maximum values
  • 5-Day View: Display shows 2 historical days + today + 2 forecast days for context and planning
  • Color Coding: Bars and values are dynamically colored based on geomagnetic activity level:
    • Low (Kp 0-3): Green
    • Medium (Kp 3-5): Orange
    • High (Kp 5-7): Dark orange
    • Severe (Kp 7-9): Red
  • Forecast Indicators: Future predictions are shown with diagonal stripe patterns and reduced opacity

Solar Wind Forecast Processing

Enlil time series data is analyzed to extract actionable solar wind predictions:

  • Current Conditions: Data point nearest to current time (past or future) provides "now" solar wind parameters
  • Parameters Displayed:
    • Solar wind speed (radial velocity, km/s)
    • Solar wind density (particles per cm³)
    • Solar wind temperature (Kelvin)
    • Total magnetic field strength (Bt, nanoTeslas)
  • Magnetic Field Calculation: Total field strength computed as Bt = √(Br² + Bθ² + Bφ²) from three orthogonal magnetic field components
  • CME Detection: Algorithm monitors the "cloud" flag to identify predicted CME arrivals at Earth
  • Peak Forecasting: 48-hour maximum values for both speed and density calculated from future data points
  • Arrival Time: When a CME is detected, precise arrival time, expected impact speed, and density are extracted

Solar Events & Chains

Flares, CMEs, and geomagnetic storms from NASA DONKI are cross-referenced into a single connected timeline that traces each storm back to its likely solar origin.

  • Event Chains: Related flares, CMEs, and storms are linked into cause-and-effect sequences (flare → CME → storm), with the transit time between each stage shown
  • Speed Classification: CMEs are grouped into speed categories to surface the fastest, most geoeffective events
  • Disk & Sphere Mapping: Each event's reported source location is projected onto both a flat solar disk and an interactive 3D globe, with the Earth-directed zone highlighted
  • Storm Grading: Geomagnetic storms are graded on the NOAA G-scale (G1–G5) from their peak planetary Kp
  • Activity Trends: Flares are tallied by class over time to show the rise and fall of solar activity

Live Monitor

The live monitor stitches current conditions into one continuous, animated view that follows the story from the Sun, through the solar-wind transit, to Earth — refreshed in near real time.

  • Sun: The latest solar imagery is overlaid with active regions, recent flares, and outgoing CMEs positioned on the disk
  • Transit: Real-time solar wind drives an animated particle stream — its density, speed, and magnetic orientation shape the flow — while any Earth-bound CMEs travel the Sun-to-Earth path
  • Earth: The current Kp is distilled into a single at-a-glance verdict and paired with the live aurora oval