fiboa / cli

CLI for fiboa (validation, inspection, schema and file creation, etc.)
https://pypi.org/project/fiboa-cli/
Apache License 2.0
0 stars 7 forks source link

Crop rotation calculation command #124

Open cholmes opened 4 days ago

cholmes commented 4 days ago

It'd be great to be able to take several years of data for an area into a single layer that includes crop rotations, where it uses the boundaries of the latest year and makes the crop of each previous year an attribute. @ivorbosloper has ideas about how to calculate it, doing some geospatial operations so that even if the field boundaries changed the latest field gets what crop was most used in the area of the latest field in the previous year.

This could make sense as its own command, or it could be a merge variant, a way to merge multiple years into a single year.

cholmes commented 4 days ago

125 should ideally happen first, but doesn't have to.