Skip to content

Commit

Permalink
update-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kauedesousa committed Mar 26, 2024
1 parent ba24cbc commit cab9347
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion script/01-download-worldclim-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
# Download worldclim data
# first run: Feb 2024
# Kauê de Sousa CGIAR
slibrary("geodata")
# ..................................
# ..................................
library("geodata")

wcpath = "data/wc2.1-global"

Expand Down
2 changes: 2 additions & 0 deletions script/01.1-move-spam-files.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# geodata version 0.5-11
# first run: Feb 2024
# Kauê de Sousa CGIAR
# ..................................
# ..................................
library("geodata")

from = "/Users/kauedesousa/local-workflow/geo-raster-shapefile/spam2010v2r0_global_harv_area/"
Expand Down
2 changes: 2 additions & 0 deletions script/01.2-spam-presence-coords.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Sample spatial coordinates from SPAM data
# first run: Feb 2024
# Kauê de Sousa CGIAR
# ..................................
# ..................................
library("terra")
library("geodata")

Expand Down
2 changes: 0 additions & 2 deletions script/02-model-suitability-areas.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ library("geodata")
#...................................................
#...................................................
# Data ####
# the BiodiversityR saves outputs on the current working directory
# get the parent wd to return here if needed
wcpath = "data/wc2.1-global"
outputwd = "output/bioclim"
dir.create(outputwd, showWarnings = FALSE, recursive = TRUE)
Expand Down
File renamed without changes.

0 comments on commit cab9347

Please sign in to comment.