-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add in function to get a list of species present on a project site #1
Comments
@mdales I've had a go at writing a function for this. Would be good if we can check it over together on Tuesday Key questions:
|
Ultimately the way you get confidence in this is by writing test functions. You can see that I've started doing this for the area calculation here: https://github.com/carboncredits/persistence-calculator/blob/main/tests/test_calculate.py#L18-L42 Basically you can see that I'm creating a 1x1 pixel area that has very specific elevation, area, etc. and checking that the area calculated has the right data in it. It's all very artificial, but it's tests like this that give us confidence in the code we have. |
In answer to point 3, I suspect to answer that we'll need to map out the "pipeline" for an end to end 4C persistence calculator. Perhaps an aim for early next week is to have that in place? |
Is your feature request related to a problem? Please describe.
In order to calculate biodiversity impacts of a project. You first need to know which species are present in the region.
Describe the solution you'd like
Create a list of species present at a site based on intersection of species ranges with project boundary)
Inputs: IUCN range maps (polygons) , Project polygons , path?
Outputs: List of species IDs (and binomials?)
Describe alternatives you've considered
NA
Additional context
NA
The text was updated successfully, but these errors were encountered: