Skip to content
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

Scripts for creating the spatial DB and cutting spatial variables in UTM for each jaguar #20

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

bniebuhr
Copy link
Collaborator

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:

  1. Building the GRASS GIS database in geographical coordinate system (lat,lon), WGS84
  2. Cutting the variables for the extent of each individual + 70km buffer, all at 30m resolution
  3. Reprojecting them to UTM at the zone corresponding to each individual

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 package landscapemetrics in R to calculate additional metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant