What it does
The Canadian Fire Weather Index (FWI) system turns daily temperature, relative humidity, wind and 24-hour rain into six codes (FFMC, DMC, DC, ISI, BUI, FWI) that describe wildfire danger. MET Norway runs FWI operationally, but the code is not open and there is no documentation. I implemented the full chain in Python from van Wagner (1987) and worked out what it takes to reproduce MET's numbers, so the index can be audited and later run on climate scenarios.
Data
Hourly station data from the Frost API, MEPS weather model output and MET's observation-blended Nordic 1 km analysis via THREDDS. Benchmark: MET Norway's operational gridded FWI. Development station Froland (SN38730, Agder), August 3 to September 2, 2026. Out-of-sample stations Gvarv-Nes (SN32060, Telemark) and Oslo-Blindern (SN18700).
What I found
- Timing bug: FWI must use noon local standard time (11 UTC in Norway), not 12 UTC. Fixing one line cut DMC bias from +3.27 to +1.26.
- Latitude adjustment rejected: scaling the day-length tables to 58.5°N made DMC bias worse (+2.9). MET uses the standard tables.
- Rain source decides DMC: same algorithm, three rain inputs. Station gauge and Nordic analysis agree (DMC bias +1.3 and +1.4). The MEPS forecast gives +13.6, almost all from one convective storm on August 5 (gauge 9.7 mm, model 2.0 mm) that carried forward for three weeks.
- Standard FFMC cannot match MET: the van Wagner rain equation has a hard ceiling (minimum FFMC about 7.2 from a dry start). MET showed 4.43 on August 5, which the standard formula cannot produce.
- Fix: a conditional second wetting pass when the first pass reaches the saturation boundary, plus MET's gridded humidity instead of the station sensor. FFMC RMSE at Froland fell from 7.70 to 2.78 (64%) and rain-day bias from +10.78 to −0.13.
Out-of-sample check
The same rule, unchanged, reduced FFMC RMSE at Gvarv-Nes by 34% (6.33 to 4.20) and at Oslo by 27%. On Gvarv's hardest event (21 mm on very dry fuel) the error fell from 12.7 to 0.5 FFMC units.
Open questions
Rain events above about 35 mm still leave FFMC 5 to 8 units above MET at all three stations. The second wetting pass is a well-supported hypothesis, not a confirmed description of MET's code. More stations and seasons are needed.
This implementation is the meteorological input layer for the wildfire risk modelling project.