Skip to content

EC-LV: require only what the source actually fills - #248

Merged
ivorbosloper merged 2 commits into
mainfrom
split/ec_lv
Sep 16, 2026
Merged

ivorbosloper merged 2 commits into
mainfrom
split/ec_lv

Conversation

@ivorbosloper

@ivorbosloper ivorbosloper commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

missing_schemas marked properties required that the Latvian release does not fill for every parcel, so the conversion died at write time, one column per run, after the whole file had been read.

A 100-row fixture cannot catch this: check the whole source (gpd.read_file(...).isna().sum()) rather than peeling columns one run at a time. Same fix as #247 and #249.

The converter's missing_schemas marked properties as required that the release
does not fill for every parcel, so the conversion failed at write time — one
column per run, after the whole file had been read.

Checking this needs the whole source rather than the 100-row fixture: a column
the source only sometimes fills passes the test and fails the full run.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DVx9uQV2QPM8ecPAY3ZjXG
@ivorbosloper
ivorbosloper merged commit 401afdc into main Sep 16, 2026
7 checks passed
@ivorbosloper
ivorbosloper deleted the split/ec_lv branch September 16, 2026 13:05
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