-
Notifications
You must be signed in to change notification settings - Fork 18
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
Gvi to points #29
Gvi to points #29
Conversation
assign_gvi_to_points calls get_gvi_score on the image associated with each location and adds the score as an attribute. outputs a gpkg to the specified folder.
- Add Typer code to execute from cmd - Move get_gvi_score inside assign_gvi_to_points.py
I was able to run things successfully! Thanks for working on this 😄
Something seems off (either with the methodology or with the code) based on a spot check of the 3 highest and 3 lowest GVI scores. HighLow |
Add new dependencies
Applied formatting checks from ruff
Use output file instead of output directory, allow user to set file name/type
Updated:
|
Spot checks definitely look odd. I didn't touch the GV score function but will take a look and compare to the sample from Treepedia to see if I can spot anything off. |
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.
Please address the os
built-in library being in pyproject.toml
, the rest of my comments are nits that you can choose to implement or not. Thanks so much for your work!
- Add help annotations to arguments - use tqdm for progress bar - remove os from dependencies list
Thanks @dragonejt - should all be addressed now. |
Addresses issue #8
Adds
file assign_gvi_to_points.py
Input:
create_points.py
data/processed
as default)Output:
The module will output a GeoPackage file called
image_points_with_gvi.gpkg
in the output directory.Example usage:
Still to do - flesh out the info/examples for
--help