Temp_model {HBV.IANIGLA} | R Documentation |
Altitude gradient base air temperature models
Description
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).
Usage
Temp_model(
model,
inputData,
zmeteo,
ztopo,
param
)
Arguments
model |
numeric value with model option:
|
inputData |
numeric vector with air temperature record series [ºC/ |
zmeteo |
numeric value indicating the altitude where the air temperature is recorded
|
ztopo |
numeric value with the target height |
param |
numeric vector with the following parameters: LT
LPM
|
Value
Numeric vector with the extrapolated air temperature series.
References
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
Examples
# 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)
)