Temp_model  R Documentation 
Extrapolate air temperature records to another heights. In this package version you can use the classical linear gradient model or a modified version which sets an upper altitudinal threshold air temperature decrement (avoiding unreliable estimations).
Temp_model( model, inputData, zmeteo, ztopo, param )
model 
numeric value with model option:

inputData 
numeric vector with air temperature record series [ºC/Δ t]. 
zmeteo 
numeric value indicating the altitude where the air temperature is recorded [masl]. 
ztopo 
numeric value with the target height [masl]. 
param 
numeric vector with the following parameters: LT
LPM

Numeric vector with the extrapolated air temperature series.
Immerzeel, W.W., Petersen, L., Ragettli, S., Pellicciotti, F., 2014. The importance of observed gradients of air temperature and precipitation for modeling runoff from a glacierized watershed in the Nepalese Himalayas. Water Resour. Res. 50, 2212–2226. https://doi.org/10.1002/2013WR014506
# The following is a toy example. I strongly recommend to see # the package vignettes in order to improve your skills on HBV.IANIGLA ## simple linear model airTemp < Temp_model( model = 1, inputData = runif(200, max = 25, min = 10), zmeteo = 2000, ztopo = 3500, param = c(6.5) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.