A production-minded pipeline that continuously ingests real-time solar-wind measurements, official space-weather event records, and satellite orbital data into a unified analytical store — then detects anomalous conditions with deterministic code and uses a local language model to turn raw signal windows into structured, schema-validated incident narratives, graded against NASA's event log.
Deterministic detection, probabilistic narration: threshold statistics decide whether something happened; the LLM only describes and structures what happened, and is never in the detection path. Every layer is added in response to a concrete limitation of the previous one, and each decision is documented with its tradeoffs.
Three+ connectors behind one plugin interface, with gap handling, dedupe, per-source rate-policy compliance, and a full ingestion log.
Rules as DuckDB window queries — the same SQL for backtest and live, with debounce. The heuristic benchmark any learned model must beat.
Local LLM output validated against a Pydantic schema, with retry-on-error and failure quarantine. Malformed output never reaches the store.
A hand-labeled golden set + DONKI correlation, wired into CI. A documented prompt iteration moved severity accuracy from 37% to 83%.
The magnetopause compresses from real dynamic pressure; satellites are SGP4-propagated from real TLEs. Physics is live; the particle flow is stylized.
Every panel marked LIVE (real telemetry / physics) or ILLUSTRATIVE (decorative). Nothing is presented as real data that isn't.
● LIVE solar-wind metrics · derived anomaly score & drivers · the Shue 1998 magnetopause and bow shock (from real pressure & IMF Bz) · dayside reconnection state · SGP4 satellite positions (GOES/LEO) · DONKI events · incident narratives.
● ILLUSTRATIVE the solar-wind particle animation (its rate is real; individual particles are decorative) · the star field · schematic Sun and dipole field lines. L1 monitors (DSCOVR/ACE) are placed at their known fixed location, not propagated.
The console below is the shipped one — the same page the FastAPI app serves, reading a frozen capture of its own API instead of polling a live server. It ships with two scenarios you can switch between:
To run the live version yourself — polling every 60 s over a read-only DuckDB connection:
uv pip install -e ".[dev,experiment]" python -m heliosentinel.ingest # pull real data into the warehouse uvicorn heliosentinel.api.app:app --port 8000
Then open http://localhost:8000. Scheduling, Docker, and the source layout are in the repository.
tests, all offline · ruff + mypy strict clean
build phases · ingest → detect → narrate → eval → serve → depth
severity accuracy after one documented prompt iteration