From 6569e47ff27d824c9fda86def3b5c428f95e52f1 Mon Sep 17 00:00:00 2001 From: unknown <olivier.delaigue@ANPI1430.antony.irstea.priv> Date: Mon, 26 Jun 2017 11:38:51 +0200 Subject: [PATCH] v1.0.9.4 new warning messages in CreateRunOptions --- DESCRIPTION | 2 +- R/CreateRunOptions.R | 4 ++-- R/DataAltiExtrapolation_Valery.R | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index f75f8381..3134c198 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.9.3 +Version: 1.0.9.4 Date: 2017-06-26 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl")), diff --git a/R/CreateRunOptions.R b/R/CreateRunOptions.R index 19b7a817..3ea7904d 100644 --- a/R/CreateRunOptions.R +++ b/R/CreateRunOptions.R @@ -268,13 +268,13 @@ CreateRunOptions <- function(FUN_MOD, InputsModel, IndPeriod_WarmUp = NULL, IndP if(RunSnowModule & "GR" %in% ObjectClass & "CemaNeige" %in% ObjectClass){ if("PliqAndMelt" %in% Outputs_Cal == FALSE & "all" %in% Outputs_Cal == FALSE){ WTxt <- NULL; - WTxt <- paste(WTxt,"\t PliqAndMelt was not defined in Outputs_Cal but is needed to feed the hydrological model with the snow module outputs \n",sep=""); + WTxt <- paste(WTxt,"\t PliqAndMelt was not defined in Outputs_Cal but is needed to feed the hydrological model with the snow modele outputs \n",sep=""); WTxt <- paste(WTxt,"\t -> it was automatically added \n",sep=""); if(!is.null(WTxt) & verbose){ warning(WTxt); } Outputs_Cal <- c(Outputs_Cal,"PliqAndMelt"); } if("PliqAndMelt" %in% Outputs_Sim == FALSE & "all" %in% Outputs_Sim == FALSE){ WTxt <- NULL; - WTxt <- paste(WTxt,"\t PliqAndMelt was not defined in Outputs_Sim but is needed to feed the hydrological model with the snow module outputs \n",sep=""); + WTxt <- paste(WTxt,"\t PliqAndMelt was not defined in Outputs_Sim but is needed to feed the hydrological model with the snow modele outputs \n",sep=""); WTxt <- paste(WTxt,"\t -> it was automatically added \n",sep=""); if(!is.null(WTxt) & verbose){ warning(WTxt); } Outputs_Sim <- c(Outputs_Sim,"PliqAndMelt"); } diff --git a/R/DataAltiExtrapolation_Valery.R b/R/DataAltiExtrapolation_Valery.R index c15cffec..ce0a5c7c 100644 --- a/R/DataAltiExtrapolation_Valery.R +++ b/R/DataAltiExtrapolation_Valery.R @@ -7,7 +7,7 @@ DataAltiExtrapolation_Valery <- function(DatesR, ##Altitudinal_gradient_functions_______________________________________________________________ ##unique_gradient_for_precipitation GradP_Valery2010 <- function() { - return(0.00041) ### value from Valerie PhD thesis page 126 + return(0.00041) ### value from Valery PhD thesis page 126 } ##daily_gradients_for_mean_min_and_max_air_temperature GradT_Valery2010 <- function() { -- GitLab