Goodearth Pest Threshold
goodearth_pest_thresholdWhere a pest model's degree-day stages stand on this ground.
Returns, per model: heat accumulated since its biofix, which stages have been crossed, and the projected date of the next one — plus a short list of which pests to go and look for this week.
Good Earth computes when your models arrive on your ground. It does not publish entomology: the thresholds are yours, because the authoritative numbers belong to your extension service and vary by region and biotype.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| block | Yes | The ground to answer for: a block you have saved — its id, its name, one of its aliases, or any part of its name that only one block has (e.g. "Meadow" for "Lower Meadow"). If several match, the error lists them with their ids. Blocks may overlap; each answers for its own ground. Save one with block_save first; geometry travels once, not on every call. | |
| pests | Yes | The pests to evaluate, in any of three shapes. 1. Your own thresholds, from an extension bulletin: {"pest": "Aster leafhopper", "base_temp": 50, "biofix": "2026-05-01", "stages": [{"stage": "second flight", "gdd": 1850}]}. biofix is optional; without it the count runs from Jan 1. 2. A published model, cited rather than restated: {"pest": "Japanese beetle", "model": "usa-npn"} — the dates come from USA-NPN for your ground, and re-resolve each season instead of freezing whatever was pasted in. 3. Something you simply keep an eye out for: {"pest": "Vole", "watch": true} — no stages, no dates. Do NOT invent degree-day figures to fill shape 1. Use 2 or 3. | |
| dpop_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||