Skip to content
Snippets Groups Projects
Commit b12328b8 authored by Francesco Sabatini's avatar Francesco Sabatini
Browse files

Fixed 05_ExtractEnv to account for loc uncert

parent 1cde2861
Branches
No related tags found
No related merge requests found
...@@ -274,12 +274,21 @@ knitr::kable(tmp.sum, ...@@ -274,12 +274,21 @@ knitr::kable(tmp.sum,
full_width = F, position = "center") full_width = F, position = "center")
``` ```
## 4 Elevation variability
Reimport output (calculated in `04_buildHeader`)
```{r, message=F}
elevation.out <- read_csv("../_derived/elevatr/elevation.out.csv")
```
## 4 Create output and export ## 5 Create output and export
```{r} ```{r}
soilclim <- header %>% soilclim <- header %>%
dplyr::select(PlotObservationID) %>% dplyr::select(PlotObservationID) %>%
left_join(elevation.out %>%
dplyr::select(PlotObservationID, Elevation_median, Elevation_q2.5, Elevation_q97.5, Elevation_DEM.res=DEM.res),
by="PlotObservationID") %>%
left_join(header.shp@data %>% left_join(header.shp@data %>%
dplyr::select(PlotObservationID) %>% dplyr::select(PlotObservationID) %>%
bind_cols(chelsa.out) %>% bind_cols(chelsa.out) %>%
...@@ -288,7 +297,6 @@ soilclim <- header %>% ...@@ -288,7 +297,6 @@ soilclim <- header %>%
bind_cols(isric.sd.out) %>% bind_cols(isric.sd.out) %>%
distinct(), distinct(),
by="PlotObservationID") by="PlotObservationID")
``` ```
```{r, echo=F} ```{r, echo=F}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment