Skip to content

US CSB: eight editions, and a real field id - #252

Open
ivorbosloper wants to merge 2 commits into
mainfrom
split/us_usda_cropland
Open

ivorbosloper wants to merge 2 commits into
mainfrom
split/us_usda_cropland

Conversation

@ivorbosloper

@ivorbosloper ivorbosloper commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Update year and id for CSB.

One archive carries the whole sequence: CSB1724.gdb has a CDL<year> crop column
for every year from 2017 to 2024, so each edition reads the same source with its
own column and takes its determination date from the variant.

The dissolve merges every CSB polygon of one crop within a state and splits it
again, so an output field is not a source CSB. CSBID and CNTY survived through
aggfunc="first" and described an arbitrary member of the group — CSBID gave
3,093 distinct ids to 7.5 million fields. The fields are numbered now and
neither column is published as if it described them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DVx9uQV2QPM8ecPAY3ZjXG
@ivorbosloper ivorbosloper changed the title US CSB: eight editions, and an id the dissolve does not invent US CSB: eight editions, and a real field id Sep 12, 2026
@ivorbosloper
ivorbosloper requested a review from m-mohr September 14, 2026 07:27
Comment thread fiboa_cli/datasets/us_usda_cropland.py
Comment thread fiboa_cli/datasets/us_usda_cropland.py
Grouping on CNTYFIPS keeps every group inside one county, so the county
that aggfunc="first" carries over holds for every field the group produces.
A dissolve on attributes never cuts a source polygon, it only declines to
merge across the line: in Delaware 14,308 fields become 14,321.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DVx9uQV2QPM8ecPAY3ZjXG
@ivorbosloper
ivorbosloper requested a review from m-mohr September 18, 2026 21:25
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