NL · EN
  manuals / Maze-Weather

Maze-Weather

open Maze-Weather → maze.swarp.nl/maze-weather

The weather at any place on Earth and any date from 1951 to 2100, as a probability: how often it is warm, frosty or wet there.

documentation in four layers · maze.swarp.nl/maze-weather · Leiden, 27-11-2026 · test version

Documentation in four layers, for four readers: who uses it, who wants to understand the idea, who builds it, and who wants to go further.

lastingSurvives a rebuild — the idea, the model, the choices.
moves with the codeDescribes how it is built now — routes, sources, files.

1 · For who uses it moves with the code

/maze-weather — the page

Choose a place: type a place name, press My location, or click the world map. Choose a date between 1951 and 2100. If the year is after 2025, also choose a world scenario (CMIP7: VL, LN, L, ML, M, HL, H; M is current policy). Press Compute; the first time for a place and date takes a few seconds.

You see five probabilities: a warm day (max ≥ 25 °C), a hot day (≥ 30 °C), frost (min below 0 °C), a wet day (≥ 1 mm) and heavy rain (≥ 10 mm), each with the probability around 1951–1980 below it. Next to them the band in which the daily mean falls 90 % of the time. For a past date, what ERA5 actually gave that day. At the bottom: how much Earth has warmed then, and from how many days the probability comes.

The next seven days. Yesterday's departure from normal fades with the time of layer 45 of the net (τ = 5.20 days). This is not a weather model, and it is tested; the result is shown below it.

How good is it? The result of the pre-registered test on stations worldwide, line by line with passed or failed. The link shares place, date and scenario (in the address). NL/EN switches the language and is remembered.

The coming months — Copernicus SEAS5, not yet tested. The seasonal forecast from ECMWF SEAS5 (Copernicus Climate Change Service, via Open-Meteo, CC BY 4.0): per month the departure of temperature (°) and precipitation (mm) from SEAS5's own model climate. That is a different yardstick from the probabilities at the top, and it does not change them. The forecasts of the November 2026, December 2026 and January 2027 runs are fixed in advance for 81 stations and scored against GHCN in May 2027 (plan 3). Until then it says "not yet tested".

/api/maze-weather/verwachting — the probabilities as data

With lat, lon, datum (YYYY-MM-DD) and scenario. Returns the probabilities (verwachting), the same for 1951–1980 unshifted (toen), k, global warming G and, if available, the actual day.

/api/maze-weather/komend — the next seven days

/api/maze-weather/maanden — the coming months from SEAS5, with the state of the test

With lat and lon. Returns the run, per month t (K) and p (mm) as departure from SEAS5's model climate, the grid point, the source and status (fixed runs, scoring date, result). Cached for six hours.

/maze-weather/plan-3 — plan 3: SEAS5 tested forward, hashed before the first snapshot

/api/maze-weather/plek — place name search (Open-Meteo geocoder)

/api/maze-weather/scenario — global temperature: measured and per scenario

/api/maze-weather/toets — the test result per station

/maze-weather/plan — plan 1, hashed before computing

/maze-weather/uitkomst-1 — outcome 1: a k of its own per place and month failed on everything

/maze-weather/plan-2 — plan 2: which k, on new stations

/maze-weather/uitkomst — outcome 2: k = 1 passed on warm, frost and monthly temperature

2 · For who wants to understand the idea lasting

The weather of a single day years ahead cannot be predicted, but how often something happens can. Maze-Weather takes all days around your date from 1951 until now, at that place. Each day is shifted by the warming: k × (Earth's warming in your year − in that day's year). Rain gets 6.5 % heavier per degree (Clausius–Clapeyron). The share of shifted days that are warm, frosty or wet is the probability.

This is model C from J. Konstapel's climate package (De Bilt), for any place on Earth. Every place moves as much as the Earth (k = 1). A k of its own per place and season (round 1) and per place (round 2) were tested and lost: with 50 years of data such a number is too noisy per place. With k = 1, warm days, frost and monthly temperature improved at nine out of ten new stations; heavy rain did not. For the world after 2025 it uses the CMIP7 scenarios of Van Vuuren et al. (2026), as FaIR median.

The net enters at one point: today's departure fades with τ = 3⁴⁵·T₀ = 5.20 days (layer 45). That number is not fitted, which makes it a test: does it hold against a τ estimated from the measurements?

What it is not. Not a weather model, not a forecast, no advice. ERA5 is a reanalysis on a ±25 km grid, not a station: extremes are flatter. Global temperature after 2025 is a scenario, not a prediction.

3 · For who builds it moves with the code

Files in maze/maze-weather/: kern.mjs (the computing core, pure functions; the same code for page and test) · route.mjs · pagina.html · wereld.json (made by bouw-wereld.py from HadCRUT5 and fair_run.nc) · plan-maze-weather-1.md (+ .sha256) · uitkomst-maze-weather-1.md · toets/ (stations.py selects and fetches GHCN stations, converteer.py, toets.mjs → toets-uit.json for round 1, toets2.mjs → toets-uit-2.json for round 2). The page computes with the constant K = 1 in route.mjs.

Data per visit. Open-Meteo's archive API (ERA5), per year only the 31-day window (±75 requests, in batches of 8). In-memory cache per 0.25° and window, 7 days; daily limit 300 new windows. Throttling (HTTP 429 or the daily limit) returns 429 with afgeknepen: true, never an empty answer. The server stores nothing about visitors.

Rerunning the test. python toets/stations.py (Python with numpy in ~/.local/klimaat-venv; data in ~/maze-dump/maze-weather), then python toets/converteer.py and node toets/toets.mjs; round 2 with the argument 2 and node toets/toets2.mjs.

Sources. ERA5 (ECMWF/Copernicus) via Open-Meteo (CC BY 4.0) · HadCRUT5 (Met Office Hadley Centre and CRU) · FaIR CMIP7 ScenarioMIP (github chrisroadmap/cmip7-scenariomip) · GHCN-Daily (NOAA NCEI) for the test.

4 · For who wants to go further lasting

Maze-Weather is the place form of the climate at /klimaat. Possible next steps: drought (a run of dry days, not one day), the spread of the world after 2025 (FaIR's 5–95 % is already in wereld.json), and measuring the difference between ERA5 and a station at the same place before reading the probabilities as station probabilities.