Skip to content

BE-WAL: the crops were in the table all along, under their names - #259

Merged
ivorbosloper merged 2 commits into
mainfrom
split/be_wal
Sep 14, 2026
Merged

ivorbosloper merged 2 commits into
mainfrom
split/be_wal

Conversation

@ivorbosloper

@ivorbosloper ivorbosloper commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

6.79% carried no HCAT code — Jachère, Luzerne, Trèfles, Triticale d'hiver. Fix it

23,216 of the collection's 341,968 fields — 6.79%, over 59 codes — carried no
HCAT code: Jachère, Luzerne, Trèfles, Triticale d'hiver and the cereal mixes
among them. They were not missing from EuroCrops' table. That table leaves
original_code empty in 208 of its 298 rows and identifies the crop by name
there, and the converter matched on the code alone.

`ec_mapping_name_fallback` matches on the crop name where the code has no row,
and only against rows the table itself leaves uncoded, so a code that is
deliberately unmapped stays unmapped. It is off by default and on for be_wal,
the only table known to be keyed this way — checked against de.csv,
de_nrw_2021.csv, be_vlg_2021.csv, si_2021.csv, dk_2019.csv, lv_2021.csv and
fr_2018.csv, none of which has an uncoded row.

Names are stripped on both sides: three Walloon crops are spelled with a
trailing space in the table, which is the difference between 0.06% and 0.000%.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DVx9uQV2QPM8ecPAY3ZjXG
@ivorbosloper
ivorbosloper requested review from m-mohr and saidy-moregeo and removed request for m-mohr September 14, 2026 07:24
@ivorbosloper
ivorbosloper merged commit 8a09247 into main Sep 14, 2026
7 checks passed
@ivorbosloper
ivorbosloper deleted the split/be_wal branch September 14, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants