Model and data reference

The map is for people heading into the woods. This page is for anyone who wants to know where each number comes from, how it was cleaned, and how the model was built and tested.

Model · 1

Why a model, and what it predicts Version 0 trained

The map shows history: when people have logged chanterelles around each city, all years pooled. Many cities have only a few records, so their month pattern is noisy, and a city with no records says nothing at all. Chanterelles fruit after weeks of warm, wet soil, so the local climate should tell us a lot about when to go.

Version 0 answers: given a city's usual weather, how likely is each month to be a chanterelle month there? A "chanterelle month" is a month holding at least 10% of that city's yearly sightings.

Not yet: "will this year be good?". That needs year-by-year weather and year-by-year sightings (see Next steps).

Model · 2

Inputs and outputs

Inputs (per city, per month)

  • Mean temperature this month and last month, and the change between them
  • Rain this month, the last 2 months, and the 3-month average
  • Latitude
  • Month of the year (as a smooth cycle)

All weather values are 1991–2020 normals from the nearest of 86 weather stations.

Output

A probability from 0 to 100% that the month is a chanterelle month for that city. It appears in the harvest panel as "Model".

Models compared

  • Baseline: how often each calendar month is a chanterelle month across the training cities
  • Logistic regression: one weight per input, easy to read
  • Gradient boosting (scikit-learn HistGradientBoosting, depth 3)
Model · 3

How it was trained and tested

  • Data: 243 cities with at least 30 sightings, 12 months each (2,916 city-months) in 29 countries. 29% of city-months are chanterelle months.
  • Test 1, unseen countries: 5-fold cross-validation grouped by country. Every city of a country is either in training or in testing, never both, so neighbouring cities cannot leak answers.
  • Test 2, a new continent: train on Europe only, test on the USA and Canada.
  • The model used on the map is then refit on all cities.
Model · 4

Results

Test 1: unseen countries

ModelROC-AUCPR-AUCBrierSkill vs baseline
Baseline: month of year only0.880.690.117+0.00
Logistic regression (used on the map)0.910.760.110+0.06
Gradient boosting0.920.840.098+0.16

Test 2: trained on Europe, tested on North America

ModelROC-AUCPR-AUCBrierSkill vs baseline
Baseline: month of year only0.850.640.140+0.00
Logistic regression (used on the map)0.890.700.129+0.08
Gradient boosting0.810.620.150-0.07

ROC-AUC: how well chanterelle months are ranked above other months (0.5 is a coin flip, 1 is perfect). PR-AUC: the same, focused on the rarer chanterelle months. Brier: average squared error of the probabilities (lower is better). Skill: improvement in Brier over the baseline (above 0 is better).

Choice: gradient boosting is best on unseen European countries, but it gets worse than the baseline when moved to North America. Logistic regression beats the baseline in both tests, so the map uses logistic regression.

Honest limits: the baseline is already strong, because the season is mostly set by the calendar. The model adds a modest gain (Brier skill +0.06 and +0.08). Labels come from where people log records, so effort bias is still inside them.

Model · 5

Next steps Planned

  • Year-by-year sightings per city and month (the new fetch_dedup.py also removes duplicate records)
  • Year-by-year monthly weather (ERA5-Land reanalysis), to predict whether this year's month will beat the usual level
  • Search-effort correction: divide by all fungi records in the same area and month
  • Split by year for testing (train 2000–2019, validate 2020–2022, test 2023–2025)
Data · 1

Chanterelle sightings (GBIF) Collected

What GBIF is. The Global Biodiversity Information Facility is an international, government-funded open data network. It does not collect records itself. It gathers "a species was here on this date" records from thousands of sources into one standard format: museum and herbarium collections, national species atlases (for example Artportalen in Sweden, the Danish fungal atlas, the British Mycological Society), and citizen-science apps such as iNaturalist and Mushroom Observer. Each record has a species, coordinates and usually a date.

How the data was fetched. Through the official GBIF occurrence API (api.gbif.org/v1/occurrence/search), with a script (scripts/fetch_grid_fast.py) run in November 2026. The same query was used for all three regions; only the area filter changes.

  • Genus Cantharellus (taxonKey=9623860), so golden chanterelle and its close relatives
  • Only records with coordinates (hasCoordinate=true) and no GBIF-flagged location problem (hasGeospatialIssue=false)
  • Europe by continent=EUROPE, the USA by country=US, Canada by country=CA
  • Counted, not downloaded: the area is cut into 1° × 1.5° cells (about 110 km), and GBIF returns the count per cell with a month breakdown (facet=month)
RegionCells with recordsRecords
Europe66188,088
USA36622,956
Canada1172,093

Cleaning done.

  • Records without coordinates or with flagged coordinates are excluded by the query
  • Records without a month count toward "All year" but not toward any month, so month totals can be smaller
  • In the earlier country and state counts, misspelled region names ("Illinios", "Nc", "Quebec", "Newfoundland") were merged into the right region

Not cleaned yet. No duplicate removal (the same find can be logged in two databases), no filter on coordinate precision, no year filter (all years are pooled), and no species split inside the genus. All record types are kept: human observations, museum specimens and a few literature records.

Data · 2

From grid cells to cities Estimated

People look for "near Stockholm", not "cell 59°N 18°E", so each cell's records are credited to one big city:

  • Big city = 150,000+ people (60,000+ in Canada, where cities are fewer)
  • Each cell goes to the most populous big city within about 110 km of the cell centre; if there is none, to the nearest big city within 160 km; otherwise to the largest town of 40,000+ people within 110 km; otherwise to the nearest town
  • Result: 260 cities in Europe, 153 in the USA, 42 in Canada, and every record is assigned exactly once
  • City list: GeoNames, through the open all-the-cities package (cities of 1,000+ people with population figures)

The 25 km ring on the map shows where to start looking around the city. The count itself covers the whole cell, so it reaches further than 25 km.

Data · 3

Rain and temperature Estimated

Source. Long-term monthly normals (mostly 1991–2020) from 86 weather stations: 39 in Europe, 34 in the USA, 13 in Canada. The numbers come from national weather services (for example SMHI, the Met Office, Deutscher Wetterdienst, NOAA, Environment Canada) as published in the climate tables of the Wikipedia article for each city.

How it was turned into data. The tables are text on web pages. An AI agent read each table and typed the 12 monthly values into the data file. Values for Copenhagen and several UK stations came from a search summary rather than the table itself, and the Inverness temperatures are still to be checked. These are marked as needing a check against the original service.

Rain contours. For each map point, the station values are blended with weights that fall off with distance (Gaussian, about 180 km), on a 0.4° grid, and drawn as contour bands. Points more than 450 km from any station are left blank.

Temperature. Monthly mean temperature normals (mostly 1991–2020) for all 86 stations, read from the same Wikipedia climate tables ("Daily mean" row). A few tables are for a nearby station rather than the city centre: Glasgow uses Paisley, Brussels uses Uccle, Vancouver uses the airport in Richmond.

These are averages over 30 years, not this year's weather. The model will need actual monthly weather per year (planned: ERA5-Land from the Copernicus Climate Data Store).

Data · 4

Map layers Collected

LayerSourceNotes
Country bordersNatural Earth 1:50m (world-atlas)Bundled in the page, works offline
US state linesUS Census (us-atlas)
Rivers and lakesNatural Earth 1:10mLarger rivers first, smaller ones as you zoom in
Mountain ranges and peaksNatural Earth 1:10m geography regionsHatched areas with names; peaks with height
TownsGeoNames (40,000+ people)Shown when zoomed in close to a city
Read before you go

Limits

  • More records can mean more searchers. Europe has many more records partly because national atlases there are large and well used. A city with few records is not proof that chanterelles are rare there. Adjusting for search effort is the next step.
  • Cells are about 110 km wide. A city's count covers a large area, not one forest.
  • Climate is a 30-year average. It shows the usual pattern, not this year's.
  • Never eat a mushroom you have not identified with certainty. False chanterelles and jack-o'-lantern mushrooms look similar. Check with a local expert.