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
266bb26c
Commit
266bb26c
authored
Aug 30, 2018
by
Delaigue Olivier
Browse files
v1.0.13.10 warning in CreateInputsCrit when Qobs = 0 and epsilon = NULL
parent
f7323d49
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
266bb26c
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.0.13.
9
Version: 1.0.13.
10
Date: 2018-08-31
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
...
...
NEWS.rmd
View file @
266bb26c
...
...
@@ -14,7 +14,7 @@ output:
### 1.0.13.
8
Release Notes (2018-08-31)
### 1.0.13.
10
Release Notes (2018-08-31)
#### Deprectated and defunct
...
...
@@ -34,6 +34,8 @@ output:
- <code>CreateInputsCrit()</code> now returns an error when <code>epsilon</code is not positive.
- <code>CreateInputsCrit()</code> now returns a warning message if the era zeroes values in <code>Qobs<$code> and <code>epsilon = NULL</code>.
#### Minor user-visible changes
...
...
R/CreateInputsCrit.R
View file @
266bb26c
...
...
@@ -93,7 +93,8 @@ CreateInputsCrit <- function(FUN_CRIT,
stop
(
"epsilon must a be single positive value \n"
)
return
(
NULL
)
}
epsilon
=
as.double
(
epsilon
)
}
else
if
(
transfo
%in%
c
(
"log"
,
"inv"
)
&
any
(
Qobs
%in%
0
)
&
verbose
)
{
warning
(
"zeroes detected in Qobs: the corresponding time-steps will be exclude by the 'ErrorCrit*' functions if the epsilon agrument = NULL"
)
}
if
(
transfo
==
"log"
&
verbose
)
{
...
...
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