The R package LapseRateCalculator is an example of lapse rate calculator applied to dew point temperature (derived from T_Air and RH). The algorithm example_transect_dew_point.R in folder inst applies function Tdew in folder R to produce dew point temperature for each station. All station in folder data/Input are analyzed togheder and the lapse rate is calculated for each hour using a linear fit model.
Clone the package from https://github.com/EURAC-Ecohydro/LapseRateCalculator
install_packages("devtools") library(devtools) install_github("EURAC-Ecohydro/LapseRateCalculator") library("LapseRateCalculator")
In folder inst there is the script example_transect_dew_point.R
In folder R there are some functions used by scripts in inst folder
In folder data there are subfolders where put input data, support files and a folder where scripts save outputs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.