Uncertainty#

This gallery focuses on uncertainty calibration, reliability, and risk-interpretation workflows in GeoPrior.

Unlike the forecasting gallery, which explains how forecast tables are built, read, and compared, the pages collected here are organized around a different practical question:

How should a user judge whether probabilistic forecasts are honest, useful, and trustworthy?

The emphasis is therefore on uncertainty quality. These examples show how GeoPrior turns forecast tables into interpretable uncertainty artifacts such as:

  • calibrated interval forecasts,

  • coverage-versus-sharpness summaries,

  • exceedance-probability diagnostics,

  • reliability diagrams,

  • raw-versus-calibrated reliability comparisons,

  • recalibrated quantile forecast columns.

In other words, this gallery is about working with predictive uncertainty: not only plotting it, but also understanding how to calibrate it, evaluate it, and interpret its trade-offs.

Module guide#

Module

Main output

Purpose

plot_interval_calibration.py

Interval calibration workflow

Fit and apply horizon-wise interval calibration factors, then compare forecast coverage and interval width before and after calibration.

plot_coverage_vs_sharpness.py

Coverage-sharpness diagnostics

Compare how different uncertainty systems trade interval honesty against interval width, and explain why both quantities must be read together.

plot_brier_exceedance.py

Exceedance probability diagnostics

Calibrate event probabilities, inspect Brier scores, and explain risk-oriented exceedance forecasting for critical thresholds.

plot_reliability_diagram_overview.py

Reliability curves

Read nominal probability against empirical frequency for one or more forecast systems and learn how under- and over-confidence appear in a reliability diagram.

plot_calibration_comparison_overview.py

Raw-versus-calibrated reliability

Compare the original reliability curve against the calibrated one so users can judge whether post-processing improved honesty without hiding the calibration cost.

calibrate_forecasts.py

Recalibrated quantile columns

Recalibrate individual quantile forecast columns and inspect how quantile calibration changes across groups such as forecast horizons.

Reading path#

A useful way to move through this gallery is to follow the logic of a complete uncertainty workflow:

  1. begin by calibrating forecast intervals,

  2. compare coverage against sharpness,

  3. move to exceedance-event probabilities and Brier score,

  4. inspect the raw reliability curve,

  5. compare raw reliability against calibrated reliability,

  6. finish with direct quantile-column recalibration.

That is why the examples are grouped by uncertainty workflow purpose rather than only by plotting function.

Why this separation matters#

This gallery deliberately keeps four concerns distinct:

  • uncertainty calibration,

  • uncertainty evaluation,

  • uncertainty visualization,

  • uncertainty interpretation.

That separation makes the workflow easier to understand. It also helps users distinguish between:

  • helpers that recalibrate interval or probability forecasts,

  • evaluators that summarize coverage, sharpness, and Brier behavior,

  • visual tools that expose reliability and trade-offs,

  • lesson pages that explain what those uncertainty artifacts actually mean.

Notes#

  • These examples are intentionally compact and lesson-oriented.

  • The pages in this section are uncertainty-first: they may print small metric tables or summaries, but their main purpose is to explain how probabilistic forecasts should be calibrated, checked, and interpreted.

  • A useful rule of thumb is:

    • forecasting/ explains how forecast outputs are built, read, and compared,

    • uncertainty/ explains calibration, reliability, and event-risk interpretation,

    • evaluation/ explains how forecast quality is judged with metric plots and summary views,

    • diagnostics/ explains workflow and training diagnostics,

    • spatial/ explains how mapped outputs and spatial structures should be read,

    • tables_and_summaries/ builds reusable analysis artifacts.

  • A practical reading sequence is:

    • first calibrate the intervals,

    • then inspect the coverage-versus-sharpness trade-off,

    • then study exceedance probabilities and Brier score,

    • then read the reliability diagram,

    • then compare raw and calibrated reliability directly,

    • then inspect direct quantile recalibration in more detail.

Exceedance probabilities and Brier score

Exceedance probabilities and Brier score

Quantile recalibration with calibrate_forecasts

Quantile recalibration with calibrate_forecasts

Compare raw and calibrated reliability with plot_calibration_comparison

Compare raw and calibrated reliability with plot_calibration_comparison

Coverage versus sharpness in probabilistic forecasts

Coverage versus sharpness in probabilistic forecasts

Interval calibration with calibrate_quantile_forecasts

Interval calibration with calibrate_quantile_forecasts

Reliability diagrams for probabilistic forecasts

Reliability diagrams for probabilistic forecasts

Read forecast reliability with plot_reliability_diagram

Read forecast reliability with plot_reliability_diagram