Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ Now load the files in `terra`:

```{r}
(MODISfiles <- list.files(outdir, full.names=TRUE))
tahitiMOD = rast(MODISfiles)
tahitiMOD <- rast(MODISfiles)
plotRGB(tahitiMOD, 13, 7, 1, stretch = "lin")
```

Expand All @@ -513,8 +513,8 @@ This is because MODIS uses a sinusoidal projection that distorts shapes that are
Let's reproject and crop to our region of interest:

```{r}
tahitiMOD = project(tahitiMOD, tahiti)
tahitiMOD = crop(tahitiMOD, tahiti)
tahitiMOD <- project(tahitiMOD, tahiti)
tahitiMOD <- crop(tahitiMOD, tahiti)
plotRGB(tahitiMOD, 13, 7, 1, stretch = "lin")
```

Expand Down
Loading