-
Notifications
You must be signed in to change notification settings - Fork 9
Update datasets #191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update datasets #191
Conversation
ivorbosloper
commented
Oct 25, 2025
- Support HCAT mapping CSV files without crop_code
- Split Germany BB and NDS in block dataset and crop fields
- Add HCAT to datasets where possible
- Updated years & variants for at_crop, be_vlg, es_an, es_cl, es_pv, ie, pt, se
- Rename at -> at_block and at_crop -> at, same for nl
|
Tests await release of vecorel/cli#13 |
|
I'm awaiting a new release for vecorel I guess... The tests will work then... @m-mohr |
| # "mines_status": "mines_status", | ||
| # "mines_year_removed": "mines_year_removed", | ||
| "water_protect_zone": "water_protect_zone", | ||
| "natura2000": "natura2000", | ||
| "natura2000_ok": "natura2000_ok", | ||
| "natura2000_pop": "natura2000_pop", | ||
| "natura2000_povs": "natura2000_povs", | ||
| # "natura2000_ok": "natura2000_ok", | ||
| # "natura2000_pop": "natura2000_pop", | ||
| # "natura2000_povs": "natura2000_povs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wny reason why they are skipped? Would probably be handy to have a comment in code why they are skipped for future reference
| ec_mapping_csv = "hr_2020.csv" | ||
|
|
||
| def migrate(self, gdf) -> gpd.GeoDataFrame: | ||
| gdf["land_use_id"] = gdf["land_use_id"].astype(int) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't that a column migration?
| "geometry": "geometry", | ||
| "CSBID": "id", | ||
| "CDL2023": "crop:code", | ||
| # "CDL2023": "crop:code", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here as well, we should document why we skip it or remove it completely from the code.