diff --git a/DESCRIPTION b/DESCRIPTION index 3b518749c5c1c200bc19713f131c3cdd51436ac0..0cf7c91d1b1603238c28eb0cb8e08afdb502d2de 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.0.13.12 +Version: 1.0.13.13 Date: 2018-08-30 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.rmd b/NEWS.rmd index 1e494cd9bda8e9714b90ffb2e3a6f3ec6f461a36..c0fca85b6f96257f30b1844dbddee2bb09a4d598 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -14,7 +14,7 @@ output: -### 1.0.13.12 Release Notes (2018-08-31) +### 1.0.13.13 Release Notes (2018-08-31) #### Deprectated and defunct diff --git a/R/plot.OutputsModel.R b/R/plot.OutputsModel.R index bb8163f04af3cc5c979159767e674bf1fbe33d70..a3ef15ff31764ec4285259debccb0a239e1f0ac7 100644 --- a/R/plot.OutputsModel.R +++ b/R/plot.OutputsModel.R @@ -78,8 +78,8 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea = } else { PsolLayerMean <- PsolLayerMean + OutputsModel$CemaNeigeLayers[[iLayer]]$Psol/NLayers; } } } BOOL_QobsZero <- FALSE; if (BOOL_Qobs) { SelectQobsNotZero <- (round(Qobs[IndPeriod_Plot] , 4) != 0); BOOL_QobsZero <- sum(!SelectQobsNotZero, na.rm = TRUE)>0; } BOOL_QsimZero <- FALSE; if (BOOL_Qsim) { SelectQsimNotZero <- (round(OutputsModel$Qsim[IndPeriod_Plot], 4) != 0); BOOL_QsimZero <- sum(!SelectQsimNotZero, na.rm = TRUE)>0; } - if (BOOL_QobsZero & verbose) { warning("\t zeroes detected in Qobs -> some plots in the log space will not be created using all time-steps \n"); } - if (BOOL_QsimZero & verbose) { warning("\t zeroes detected in Qsim -> some plots in the log space will not be created using all time-steps \n"); } + if (BOOL_QobsZero & verbose) { warning("\t zeroes detected in Qobs: some plots in the log space will not be created using all time-steps \n"); } + if (BOOL_QsimZero & verbose) { warning("\t zeroes detected in Qsim: some plots in the log space will not be created using all time-steps \n"); } BOOL_FilterZero <- TRUE; ## Plots_choices