Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HYCAR-Hydro
airGR
Commits
544a6a46
Commit
544a6a46
authored
Jan 18, 2019
by
Delaigue Olivier
Browse files
v1.1.2.31 CLEAN warning message modified in CreateRunOptions #5422
parent
7a8448ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
544a6a46
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.1.2.3
0
Version: 1.1.2.3
1
Date: 2019-01-18
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
...
...
NEWS.rmd
View file @
544a6a46
...
...
@@ -13,7 +13,7 @@ output:
### 1.1.2.3
0
Release Notes (2019-01-18)
### 1.1.2.3
1
Release Notes (2019-01-18)
...
...
R/CreateRunOptions.R
View file @
544a6a46
...
...
@@ -394,8 +394,9 @@ CreateRunOptions <- function(FUN_MOD, InputsModel, IndPeriod_WarmUp = NULL, IndP
MeanAnSolidPrecip
<-
rep
(
mean
(
SolidPrecip
)
*
Factor
,
NLayers
)
### default value: same Gseuil for all layers
if
(
warnings
)
{
warning
(
"\t MeanAnSolidPrecip not defined -> it was automatically set to c("
,
paste
(
round
(
MeanAnSolidPrecip
),
collapse
=
","
),
") \n"
)
warning
(
"\t 'MeanAnSolidPrecip' not defined -> it was automatically set to c("
,
paste
(
round
(
MeanAnSolidPrecip
),
collapse
=
","
),
") from the 'InputsModel' given to the function. "
,
"Be careful in case your application is (short-term) forecasting.\n"
)
}
}
if
(
"CemaNeige"
%in%
ObjectClass
&
!
is.null
(
MeanAnSolidPrecip
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment