Northwestern Algeria · 35.75°N, 0.75°E · SPEI-12
Drought outlook for the next six months
Forecasts of the 12-month Standardised Precipitation-Evapotranspiration Index, updated from the latest observed month, with calibrated uncertainty ranges and a plain account of how much to trust them.
Forecast
Issued from the latest observed month, Feb 2026. Ranges are 80% prediction intervals.
Show forecast as a table
76 years of drought history
Below −1 is drought. The 1980s were the driest decade on record (worst month: October 1984). Since 2018 SPEI-12 has averaged about +1, the wettest stretch in the record.
Show yearly averages as a table
How good is the model?
Scored on 116 monthly forecasts made from January 2016 to August 2025, data the model never saw while it was built.
Method & limits
What SPEI-12 measures
SPEI compares rainfall with the atmosphere's demand for water (evapotranspiration) and expresses the balance as a standard score. SPEI-12 sums the last 12 months, so it tracks slow, hydrological drought that affects reservoirs, groundwater and rain-fed crops. 0 is normal; −1 or lower is drought; −2 or lower is extreme.
How the forecast is made
For each horizon, nine candidates compete: persistence (next value = today's value), climatology (the historical average for that calendar month), a damped persistence regression, and a Ridge regression, an XGBoost model tuned with 60 Optuna trials and their average, each trained both with and without the original model's year/decade trend features. The learned models use 37 features known at the time of the forecast: SPEI at 12 accumulation windows, recent lags, rolling means, and drought-duration counters. The method shown above had the lowest error in 5-fold expanding-window cross-validation over 1973–2015. The test years (2016–2025) were not used to choose it.
Uncertainty
The ranges are conformal prediction intervals built from out-of-sample cross-validation errors. The 6-month range is adaptive: every month it widens after recent misses and narrows after hits, using only outcomes already observed. Its step size was chosen on the 1973–2015 backtest. The drought probability is the share of historical errors that, added to today's forecast, would push SPEI-12 below −1.
Limits — read before using
- One grid cell. The data is a single 0.5° cell, so there is no regional breakdown and it does not describe all of Algeria.
- Mostly persistence. 11 of the 12 months behind next month's SPEI-12 are already known, so most of the 1-month skill is arithmetic, not insight. At 6 months the typical error (about 0.9) is close to the width of a whole drought class.
- No weather forecast inside. The models never see seasonal rainfall forecasts, NAO/ENSO, soil moisture or NDVI. A sudden wet or dry season will surprise them.
- Wet test period. 2016–2025 contained only 4 drought months, so drought-detection scores on the test window are statistically weak. The cross-validation backtest (1973–2015) has more than 70.
- Previous model scored better on the test decade. The original notebook's Ridge beats the new selected model on 2016–2025 at every horizon, though it lost in cross-validation over 1973–2015. Adding its year/decade trend features to the new models helps on 2016–2025 but hurts on the 1973–2015 backtest at every horizon, so they are not used. Details are in the README.
- Data gaps. The source file is missing SPEI-1 for November 2025 (filled with a causal regression) and SPEI-48 for the last four months (not used).
- Index recalibration. SPEI values are standardised over the full record by the data provider, so a sliver of future information is baked into historic values.
- Not an official warning. This is a research tool. For decisions, use national meteorological services.