Baltor Get started

Library / Skill

Calculate crop yield gaps between actual and potential or water-limited yields

baltor_crop_yield_gap

Calculate crop yield gaps between actual and potential or water-limited yields for zones of one crop, standardizing yield units and grain moisture, weighting by harvested area and reporting the exploitable gap at a declared attainable fraction.

Files, names only

  • LICENSE 1.0 KB
  • SKILL.md 4.8 KB
  • contracts/input.schema.json 4.5 KB
  • contracts/output.schema.json 14.0 KB
  • examples/example.expected.json 3.9 KB
  • examples/example.input.json 1.4 KB
  • references/provenance.json 5.2 KB
  • scripts/tool.py 10.6 KB
  • verification/test_tool.py 11.7 KB

Full files in your harness.

What it takes and gives

Command
python3 -B scripts/tool.py < examples/example.input.json
Input fields
crop_id, standard_moisture_pct, attainable_fraction, zones
Test
python3 -B -m unittest discover -s verification -p 'test_*.py' -v
Files
SKILL.md, contracts/input.schema.json, contracts/output.schema.json, scripts/tool.py
Placed for
OpenCode

Limits and scope

Limits
This is a supporting calculation for SDG target 2.3 on caller-supplied yields and benchmarks, not a crop model or an official productivity estimate. It does not simulate potential or water-limited yields, choose the attainable fraction, check that zones, years and cultivars match, or convert bushels, which need a crop-specific weight.

Details

Kind
Skill
Licence
MIT
Declared effects
reads files, runs commands
Placed for
OpenCode
Source
docs/architecture/NORTH-STAR.md
Size
9 files, 57.0 KB
Identity
baltor_crop_yield_gap
Version
95a3cdceab951c6ac35feed8aedcd7a5a4d544e89e01a63c69d4ea6622d0ae0f

The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.

Where it is shown

Related components

Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.