Disease and pest risk models for potato, onion and coffee, hourly per threat
Risk per threat for the station's crop, every hour: percent, level, threat score, accumulated disease severity, the conducive hours behind the score and how much input data backed it. 22 models across potato, onion and coffee.
Catalogue entry: Disease + pest risk (v2). Risk Models v2 output per gateway and threat: risk percent, level, accumulated DSV, conducive hours and the data completeness behind the score.
Questions this data answers
Is late blight risk rising on this potato field this week, and how many conducive hours are behind the score?
Which 2 threats deserve a spray first today, and which are only on the watch list?
Is a high bacterial-wilt reading a real warning or a model running on incomplete data?
What is the onion thrips or downy mildew risk at a station in Machakos right now?
How has coffee berry disease risk moved over the last 30 days at a station in Uasin Gishu?
Which models run for this crop, and what does each one read from the station?
1 row per station, threat and hour. Risk percent and level are the headline figures. Conducive hours count how many hours in the model’s own window met the threat’s conditions; the disease severity value is the running accumulator behind the fungal models specifically. Data completeness is simply the share of the window’s hours that had the readings the model needed in the first place. A threat score and a prioritised flag together decide which 2 threats a notification names, and model detail, the thresholds in force and the crop stage assumed, travels along in its own metadata field.
Read data completeness first
A risk computed off a third of the hours is a watch item, not a verdict, and the potato station at Naivasha makes the point cleanly: aphid risk reads 25 % with 0 % completeness, because the aphid model needs wind and the station has no anemometer, so that percentage is simply carried over from the last complete cycle. Bacterial wilt, by contrast, reads 100 % with 100 % completeness off a week-long multiplication run in warm, wet soil. The second row is a genuine warning; the first is a model running without its inputs, and the dataset says exactly that in the row itself rather than hiding it.
Which models run
The station’s crop decides the set. Potato runs 11 threats: late blight, early blight, bacterial wilt, blackleg and soft rot, common scab, rhizoctonia, potato tuber moth, aphid risk, whitefly, and 2 separate virus risks. Potato is also the calibrated set, built at 1,900 m in Naivasha, using event-based triggers and phenology gates pulled from sensor settings; models shipped only with temperate thresholds instead fire continuously as a fallback baseline. Onion runs 6 threats, coffee 5. The kind tag groups all of them: fungal severity accumulators, bacterial multiplication runs, soil temperature and moisture windows, insect phenology on degree-days, and vector flights tracked on wind and temperature.
Prioritisation
Every cycle, each threat gets scored on its risk tier, the economic severity of the threat itself, whether an action is available, and how recently it was last alerted. Low-tier threats never score at all. The top 2 get marked prioritised, a notification names exactly those, and everything else drops to a watch list instead.
History
The 30-day charts read this same dataset at its daily maximum. Late blight sat at 0 through a dry August; bacterial wilt held at 100 off a soil that never dried below its own run threshold. What triggers an advisory is a transition upward between 2 cycles, and every single transition gets written to the advisory history, whether it was sent or simply held.
Risk readings and the model list
Live risk at 3 stations, 2026-12-06T17:10Z
Potato, the potato station at Naivasha, 2,490 m
threat
Level
Risk %
Conducive h
Data completeness %
Prioritised
blackleg_soft_rot
High
100
51
100
yes
bacterial_wilt
High
100
168
100
yes
plrv_risk
Low
27
323
64
aphid_risk
Low
27
323
0
early_blight
Low
18
177
96
whitefly
Low
9
283
0
potato_tuber_moth
Low
6
270
45
late_blight
Low
3
31
99
rhizoctonia
Low
0
335
47
pvy_risk
Low
0
0
0
common_scab
Low
0
0
100
Bacterial wilt reads High on a 168-hour multiplication run in warm, wet soil, with full data behind it, and is the prioritised threat. Aphid and whitefly risk show 0 % completeness because those models read wind, which this station does not measure; their percentages are carried from the last complete cycle.
Coffee, a coffee station in Uasin Gishu, about 1,970 m
threat
Level
Risk %
Conducive h
Data completeness %
Prioritised
coffee_berry_borer
Low
20
255
99
antestia_bug
Low
14
72
99
bacterial_blight_coffee
Low
0
0
100
coffee_berry_disease
Low
0
0
100
coffee_leaf_rust
Low
0
1
99
Onion, an onion station in Machakos
threat
Level
Risk %
Conducive h
Data completeness %
Prioritised
onion_thrips
Medium
39
334
99
onion_fly
Low
27
334
99
white_rot
Low
18
6
12
downy_mildew
Low
10
11
100
purple_blotch
Low
4
15
99
stemphylium_blight
Low
0
11
100
The onion set is evaluated without wind on purpose: the Machakos station has no usable anemometer, and no onion model depends on wind.
Blackleg and Soft Rot (Pectobacterium / Dickeya spp.)
bacterial_run
72 h
rainfall, soil moisture, air temperature
common_scab
Common Scab (Streptomyces scabies)
soil_window
720 h
soil moisture, soil temperature
rhizoctonia
Rhizoctonia (R. solani AG-3)
soil_window
720 h
soil temperature, soil moisture
potato_tuber_moth
Potato Tuber Moth (Phthorimaea operculella)
insect_phenology
720 h
soil temperature, air temperature
aphid_risk
Aphid Risk (Myzus persicae)
insect_phenology
336 h
air temperature, humidity, wind speed
whitefly
Whitefly (Bemisia tabaci)
insect_phenology
336 h
air temperature, humidity
plrv_risk
Virus PLRV (M. persicae population-driven)
insect_phenology
336 h
air temperature
pvy_risk
Virus PVY (aphid flight-driven)
flight_events
336 h
wind speed, air temperature
Onion, 6 threats
threat
Model
kind
Window or driver
Inputs
onion_thrips
Onion Thrips (Thrips tabaci)
insect_phenology
degree-days base 11.5 °C, 200 DD per generation
air temperature, humidity, rainfall
purple_blotch
Purple Blotch (Alternaria porri)
fungal_dsv
TOMCAST DSV on leaf-wetness runs
leaf wetness, air temperature
downy_mildew
Downy Mildew (Peronospora destructor)
fungal_dsv
saturated nights 4–24 °C plus wet mornings
humidity, air temperature, leaf wetness
stemphylium_blight
Stemphylium Leaf Blight (Stemphylium vesicarium)
fungal_dsv
wet-run severity at 18–26 °C
leaf wetness, air temperature
white_rot
White Rot (Sclerotium cepivorum)
soil_window
soil 10–20 °C and VWC ≥ 30 %
soil temperature, soil moisture
onion_fly
Onion Fly / Maggot (Delia antiqua)
insect_phenology
degree-days base 4.4 °C, mild-humid flight hours
air temperature, humidity
Coffee, 5 threats
threat
Model
kind
Window or driver
Inputs
coffee_berry_disease
Coffee Berry Disease (Colletotrichum kahawae)
fungal_dsv
wet-run severity 12–28 °C with rain-splash dispersal, 7 d
air temperature, leaf wetness, rainfall
coffee_leaf_rust
Coffee Leaf Rust (Hemileia vastatrix)
fungal_dsv
night wet runs ≥ 6 h at 15–28 °C, 14 d
air temperature, leaf wetness
coffee_berry_borer
Coffee Berry Borer (Hypothenemus hampei)
insect_phenology
degree-days base 15 °C cap 32 °C, 300 DD per generation
air temperature
bacterial_blight_coffee
Bacterial Blight of Coffee (Pseudomonas syringae pv. garcae)
bacterial_run
cold wet hours below 18 °C, chill wounds, splash
air temperature, leaf wetness, rainfall
antestia_bug
Antestia Bug (Antestiopsis spp.)
insect_phenology
cool-humid favourability share
air temperature, humidity
Risk Models v2 per crop, from cropThreatRegistry.js. Potato is field-calibrated at Naivasha (1,900 m); onion and coffee sets use literature defaults until tuned.
Dataset idfarm.disease_risk
Cadencehourly
EndpointGET /farm/disease-risk
Key scopefarm:read
Declared fields8
History2026-05 to today
Coverageyour own stations
StatusOwn sensors, own account
Narrowed to your own gateways and to devices approved for API exposure.
Over the API, only for the account that owns the hardware. Readings and everything computed from them are served to keys on the owning account. Anyone else can ask for access on request; readings are shared with others only with the owner's consent. The way to get this dataset yourself is a station on your own field, or your own sensors sent in through Sensor Ingest. A NuaSense station on the field is what produces these rows; the hardware is described at nuasense.com/products.
Through the MCP connector the same read is the platform_dataset tool with dataset=farm.disease_risk. Through a scheduled export it is one job with the same filters, delivered as a file. Every dataset takes the same arguments: start and end, every with agg, fields, limit up to 5,000, order, and the tags it declares.
Related datasets
Also in Weather data
Spray window, leaf wetness and degree-day data, hourly29 variables computed every hour from the station's own readings: dew point, vapour-pressure deficit, evapotranspiration, delta-T, spray quality with its limiting factor, inversion risk, leaf wetness and degree-days for the crop and 9 pests. Every field carries a calibration tier.
Weather station data from your own field, raw to dailyRaw uplinks about every 10 minutes plus hourly and daily roll-ups, 33 fields across 3 datasets: temperature, humidity, pressure, light, rainfall, wind, position, battery and radio telemetry.
Read together with this page
Pesticide and seed prices from Kenyan agro-dealers, dailyDaily retail prices and stock availability for the products a farmer buys between planting and harvest: crop protection, seed and foliar feeds, priced per pack and per litre or kilo where that means anything. 11 fields.
Field polygons and sensor settings for your farmField polygons as GeoJSON with crop and area, and per-node settings with crop assignment, planting and phenology dates, last spray date and the growing-degree-day accumulator. 25 fields across 2 datasets.
Soil moisture and temperature data per soil nodeSoil node readings at 2 depths about every 10 minutes, plus hourly and daily roll-ups, 17 fields across 3 datasets, the series the soil-window models and the water balance read.
Alert and advisory history for your farmThe append-only record of threshold alerts sent and of advisories generated, sent or held, with metric, rule, channel, delivery status, validity window and suppression reason. 28 fields across 2 datasets.