SnowGlacier_HBV  R Documentation 
Allows you to simulate snow accumulation and melting processes using a temperature index approach. The function also incorporates options for clean and debris covered glacier surface mass balance simulations.
SnowGlacier_HBV( model, inputData, initCond, param )
model 
numeric indicating which model you will use:

inputData 
numeric matrix being columns the input variables. As in the whole
package functions, Model 1:
Model 2:
Model 3:

initCond 
numeric vector with the following values.

param 
numeric vector with the following values:

Numeric matrix with the following columns:
Model 1
** if surface is soil,
Prain
: precip. as rainfall.
Psnow
: precip. as snowfall.
SWE
: snow water equivalent.
Msnow
: melted snow.
Total
: Prain
+ Msnow
.
** if surface is ice,
Prain
: precip. as rainfall.
Psnow
: precip. as snowfall.
SWE
: snow water equivalent.
Msnow
: melted snow.
Mice
: melted ice.
Mtot
: Msnow
+ Mice
.
Cum
: Psnow
 Mtot
.
Total
: Prain
+ Mtot
.
TotScal
: Total
* initCond[3].
Model 2
** if surface is soil,
Prain
: precip. as rainfall.
Psnow
: precip. as snowfall.
SWE
: snow water equivalent.
Msnow
: melted snow.
Total
: Prain
+ Msnow
.
TotScal
: Msnow
* SCA
+ Prain
.
** if surface is ice > as in Model 1
Model 3
** if surface is soil > as in Model 1
** if surface is ice,
Prain
: precip. as rainfall.
Psnow
: precip. as snowfall.
SWE
: snow water equivalent.
Msnow
: melted snow.
Mice
: melted ice.
Mtot
: Msnow
+ Mice
.
Cum
: Psnow
 Mtot
.
Total
: Prain
+ Mtot
.
TotScal
: Total
* inputData[i, 3].
Bergström, S., Lindström, G., 2015. Interpretation of runoff processes in hydrological modelling—experience from the HBV approach. Hydrol. Process. 29, 3535–3545. https://doi.org/10.1002/hyp.10510
DeWalle, D. R., & Rango, A. (2008). Principles of Snow Hydrology.
Parajka, J., Merz, R., Blöschl, G., 2007. Uncertainty and multiple objective calibration in regional water balance modelling: case study in 320 Austrian catchments. Hydrol. Process. 21, 435–446. https://doi.org/10.1002/hyp.6253
Seibert, J., Vis, M.J.P., 2012. Teaching hydrological modeling with a userfriendly catchmentrunoffmodel software package. Hydrol Earth Syst Sci 16, 3315–3325. https://doi.org/10.5194/hess1633152012
# The following is a toy example. I strongly recommend to see # the package vignettes in order to improve your skills on HBV.IANIGLA ## Debriscovered ice ObsTemp < sin(x = seq(0, 10*pi, 0.1)) ObsPrecip < runif(n = 315, max = 50, min = 0) ObsGCA < seq(1, 0.8, 0.2/314) ## Fine debris covered layer assumed. Note that the icemelt factor is cumpulsory but harmless. DebrisCovGlac < SnowGlacier_HBV(model = 3, inputData = cbind(ObsTemp, ObsPrecip, ObsGCA), initCond = c(10, 3, 1), param = c(1, 1, 0, 3, 1, 6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.