Commit d7ae1da7 authored by unknown's avatar unknown
Browse files

v1.0.6.4 DataAltiExtrapolation_Valery code improved #4521

Showing with 3 additions and 4 deletions
+3 -4
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.0.6.3
Version: 1.0.6.4
Date: 2017-04-05
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl")),
......
......@@ -453,8 +453,7 @@ DataAltiExtrapolation_Valery <- function(DatesR,
LayerPrecip_df <- LayerPrecip_df / rowMeans(LayerPrecip_df) * Precip
LayerPrecip_df[is.nan(LayerPrecip_df)] <- 0
}
LayerPrecip <-
lapply(seq_len(ncol(LayerPrecip_df)), function(x) LayerPrecip_df[, x])
LayerPrecip <- as.list(LayerPrecip_df)
}
......
......@@ -65,7 +65,7 @@ ErrorCrit_KGE2 <- function(InputsCrit,OutputsModel, warnings = TRUE, verbose = T
if(is.numeric(Crit) & is.finite(Crit)){ SubCritValues[iCrit] <- Crit; }
##SubErrorCrit_____KGE_gama______________________
##SubErrorCrit_____KGE_gamma______________________
iCrit <- iCrit+1;
SubCritNames[iCrit] <- paste(CritName," cv(sim)/cv(obs) =", sep = "")
SubCritValues[iCrit] <- NA;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment