Scripts for creating the spatial DB and cutting spatial variables in UTM for each jaguar #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi guys!
Here I am uploading the "final" version of the python scripts that run in GRASS GIS environment, that we used to build the spatial database and cut the spatial variables for each of the jaguar individuals. The scripts are numbered and located in the
src
folder. They refer to:During this process, besides just cutting the original layers, we also: i) remove deforestation for the forest/non-forest maps from Hansen, for multiple thresholds of percentage of tree cover; ii) calculate landscape metrics based on these binary maps - patch size and distance to forest edges; iii) calculate distance from roads and water bodies.
There is also a script at the
R
folder with an example of application of the packagelandscapemetrics
in R to calculate additional metrics.