How do I clean yield data?

Fix the errors before you trust the map

GRAND ISLAND, Nebraska — Cleaning yield data means finding and removing readings that don't reflect real yield: start-up and shutdown errors, turn artifacts, sudden speed changes, header-up points and sensor glitches. Done well, it turns a noisy map into one you can use. Done carelessly, it throws out real variation you wanted to see.

The goal is to remove errors, not to make the map look nice. Here's a practical order of operations.

Keep the raw files

Before you change anything, save an untouched copy of the original data. Do your cleaning on a duplicate so you can go back if you remove too much. Name files consistently with field, crop and season so you can find them later.

Check the basics

Verify that the crop, field name, header width and moisture settings were entered correctly. Wrong header width distorts every point. Confirm that the calibration was reasonable, and flag fields where it wasn't. If the monitor was badly out of calibration, you may need to apply a correction factor based on scale tickets, or treat the field with caution.

Pay special attention to the start and end of each pass. The monitor needs a moment to register grain, so the first few seconds of a pass often show low yield, and the last few seconds after the header is raised may show grain still moving through the machine. Delay corrections shift those readings to the right place. Without them, you'll see stripes at the ends of every row.

Remove the obvious errors

Most cleaning software offers filters for common problems. Look for points where the combine was moving too slowly or too fast, where the header was raised, where flow delay caused yield to appear in the wrong place, and where yield values are impossibly high or low. Remove or adjust these points. Corrections for flow delay shift yield measurements back to where the grain was cut.

Keep a short written procedure for each crop and each machine. Note which filters you used, what limits you set and how you handled edges and overlaps. If your cleaning steps change from field to field, you can't compare results across fields or years. Consistency matters more than perfection here. A hired helper or an adviser should be able to pick up your notes and clean the next field the same way, so your yield history stays comparable.

If a field's data looks hopeless, say so and set it aside rather than forcing it into your records.

Handle overlaps and edges

Points where you ran a partial header pass or overlapped a previous pass can show falsely low or high yield. Filters that look at swath width or position can flag these. Edge rows near field borders and trees often need extra attention, since partial rows and shading affect yield for real reasons. Decide whether to keep those as real or remove them as unrepresentative.

Resist the urge to over-clean. Real variation is what you're trying to measure, and a strict filter can erase the very hilltops and wet spots you care about. A decent rule is to remove only points you can explain, such as a turn, a stop or a header lift, and to keep anything that looks odd but plausible. When in doubt, walk the spot, check the crop and decide with evidence rather than a slider.

Use sensible limits and look at the result

Set statistical limits, such as removing points beyond a few standard deviations, but don't trust them blindly. Look at the map afterward. If your cleaning removed an entire hilltop that really does yield poorly, you've erased a lesson. Walk suspicious areas if you can.

Tools such as those described by Iowa State Ag Decision Maker and farmdoc daily discuss working with field data. Your extension office may offer workshops, and a Certified Crop Adviser can help with interpretation.

Document each step so you can repeat it on the next field. Clean data won't make you a better farmer, but dirty data can make you a confused one.

Think about what the cleaned data will be used for. Data for a quick look at patterns can tolerate more noise than data for a trial, a prescription or a report to a landlord. Decide the purpose first, then clean to that level. A field cleaned for a variable rate map should be cleaned more carefully than one you only want to glance at, and the notes you keep should say which standard you used.