Description Usage Arguments Value Examples
View source: R/model_wrapper.R
The hydrological model is the GR4J model.
1 | gr4j_wrapper(indata)
|
indata |
A list with the following items:
|
A list with state variables and simulated runoff
1 2 3 4 5 6 7 8 9 10 11 12 | iwsh <- 3
indata = list(Prec = rowMeans(sample_data[[iwsh]]$Prec),
PET = rep(0, nrow(sample_data[[iwsh]]$Prec)),
St = matrix(0, nrow = 2, ncol = 1),
StUH1 = matrix(0, 20, ncol = 1),
StUH2 = matrix(0, 40, ncol = 1),
Param = c(74.59, 0.81, 214.98, 1.24))
res_sim <- gr4j_wrapper(indata)
plot(res_sim$Q, col = 'red', type ="l")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.