using Pkg
Pkg.add([
"SpeciesDistributionToolkit",
"CairoMakie",
"Dates",
"PrettyTables",
"DataFrames",
"IJulia"
])
Setup and Prerequesites
Here’s a list of instructions to setup your computer for the workshop.
Installing git
Make sure you have git installed.
Installing Julia
Copy and paste the following command to install Julia, and the Julia version manager juliaup
.
curl -fsSL https://install.julialang.org | sh
Installing Packages
Next, from a terminal, start Julia by typing julia
and pressing enter. Then, run the following lines.
Then, copy and paste the following layer to download the environmental predictors ahead of time (to avoid everyone attempting to download them at once on hotel Wi-Fi). This may take several minutes, depending on your internet connection.
using SpeciesDistributionToolkit
using IJulia
installkernel("julia")
[SDMLayer(RasterData(CHELSA2, BioClim), layer="BIO$i", left=40, right=43, bottom=30, top=35)
in 1:19
for i ]
Installing VSCode
Install VSCode from here.
Once VSCode is install It’s also recommended you install the Julia extension for VSCode here
Installing Quarto
Install Quarto from here.