Closed dimfalk closed 2 years ago
calc_modelrain(stats, d = 120, tn = 100, type = "EulerI") fails with
calc_modelrain(stats, d = 120, tn = 100, type = "EulerI")
error in `[.data.frame`(kostra_5min, , which(attr(tibble, "returnperiods_a") == : nicht definierte Spalten gewählt
kostra consists of 18 duration levels and 9 return periods stats consists of 21 duration levels (+ 4, 5, 6 d) and 10 return periods (+25 a)
kostra
stats
quick & dirty fix: stats <- stats[1:18, c(1:8, 10:12)]
stats <- stats[1:18, c(1:8, 10:12)]
calc_modelrain(stats, d = 120, tn = 100, type = "EulerI")
fails with