This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "Extract values from NetCDF" | |
| author: "Beni Stocker" | |
| date: "2025-02-20" | |
| output: html_document | |
| --- | |
| ```{r} | |
| library(tidyverse) | |
| library(terra) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "Demo aggregate GeoTIFF" | |
| author: "Beni Stocker" | |
| date: "2025-02-19" | |
| output: html_document | |
| --- | |
| ```{r} | |
| library(terra) | |
| library(stringr) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "Time series and z-scores" | |
| author: "Beni Stocker" | |
| date: "2025-02-17" | |
| output: html_document | |
| --- | |
| ```{r setup, include=FALSE} | |
| knitr::opts_chunk$set(echo = TRUE) | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(rphydro) | |
| library(tidyverse) | |
| library(reshape2) | |
| kphio = 0.087; # quantum yield efficiency | |
| ppfd = 300; # umol/m2/s | |
| vpd = 1000; # Pa | |
| co2 = 400; # ppm | |
| elv = 0; # m.a.s.l. | |
| fapar = 0.7; # fraction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "GINI" | |
| author: "Beni Stocker" | |
| date: "2025-02-05" | |
| output: html_document | |
| --- | |
| ```{r} | |
| library(tidyverse) | |
| library(FluxDataKit) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "Plots for my inaugural lecture" | |
| author: "Beni Stocker" | |
| date: "4/30/2019" | |
| output: | |
| html_document: | |
| toc: true | |
| toc_depth: 3 | |
| toc_float: true | |
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| get_vpd_day_fluxnet2015 <- function(dir){ | |
| ## loop over all HH files in the directory 'dir' | |
| out <- purrr::map( as.list(list.files(dir, pattern = "HH")), | |
| ~get_vpd_day_fluxnet2015_byfile(paste0(dir, .))) | |
| return(out) | |
| } | |
| get_vpd_day_fluxnet2015_byfile <- function(filename_hh){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "World maps" | |
| output: | |
| html_document: | |
| df_print: paged | |
| --- | |
| ```{r echo = FALSE, message = FALSE} | |
| library(tidyverse) | |
| library(sf) |