Skip to content

Commit

Permalink
specify rasterdatasources_path in ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tiemvanderdeure committed Oct 22, 2024
1 parent 01d0287 commit 3acaa8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RASTERDATASOURCES_PATH: "."
- name: Run doctests
shell: julia --project=docs --color=yes {0}
run: |
Expand Down
9 changes: 0 additions & 9 deletions docs/src/example.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
# Example of a full species distribution modelling workflow
This example fits and projects species distribution models for the tree species _Eucaplytus regnans_ from scratch.

```@example test
#| echo: false
if !haskey(ENV, "RASTERDATASOURCES_PATH")
ENV["RASTERDATASOURCES_PATH"] = ".";
end
using CairoMakie
CairoMakie.activate!(type = "png")
```

## Environmental data
We start by downloading environmental data. We use the [Rasters](www.github.com/rafaqz/Rasters.jl) package to handle raster data, and RasterDataSources.jl to automatically download Worldclim data.

Expand Down

0 comments on commit 3acaa8e

Please sign in to comment.