diff --git a/script/01-download-worldclim-data.R b/script/01-download-worldclim-data.R index b9be0f7..4c06537 100644 --- a/script/01-download-worldclim-data.R +++ b/script/01-download-worldclim-data.R @@ -3,7 +3,9 @@ # Download worldclim data # first run: Feb 2024 # Kauê de Sousa CGIAR -slibrary("geodata") +# .................................. +# .................................. +library("geodata") wcpath = "data/wc2.1-global" diff --git a/script/01.1-move-spam-files.R b/script/01.1-move-spam-files.R index 54260b1..3119b58 100644 --- a/script/01.1-move-spam-files.R +++ b/script/01.1-move-spam-files.R @@ -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/" diff --git a/script/01.2-spam-presence-coords.R b/script/01.2-spam-presence-coords.R index da1b850..6260c0d 100644 --- a/script/01.2-spam-presence-coords.R +++ b/script/01.2-spam-presence-coords.R @@ -3,6 +3,8 @@ # Sample spatial coordinates from SPAM data # first run: Feb 2024 # Kauê de Sousa CGIAR +# .................................. +# .................................. library("terra") library("geodata") diff --git a/script/02-model-suitability-areas.R b/script/02-model-suitability-areas.R index 082a350..c7e8d8c 100644 --- a/script/02-model-suitability-areas.R +++ b/script/02-model-suitability-areas.R @@ -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) diff --git a/script/03-ecocrop-prossess-layers.R b/script/03-prossess-and-combine-modelled-layers.R similarity index 100% rename from script/03-ecocrop-prossess-layers.R rename to script/03-prossess-and-combine-modelled-layers.R