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
cc51a013
Commit
cc51a013
authored
Mar 18, 2019
by
Delaigue Olivier
Browse files
v1.2.9.17 BUG: no more warning when Qobs = NULL in plot.OutputsModel
parent
5ea0e01f
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
cc51a013
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.2.9.1
6
Version: 1.2.9.1
7
Date: 2019-03-18
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
...
...
NEWS.rmd
View file @
cc51a013
...
...
@@ -13,7 +13,7 @@ output:
### 1.2.9.1
6
Release Notes (2019-03-18)
### 1.2.9.1
7
Release Notes (2019-03-18)
...
...
R/plot.OutputsModel.R
View file @
cc51a013
...
...
@@ -28,7 +28,7 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea =
if
(
sum
(
is.na
(
Qobs
))
!=
length
(
Qobs
))
{
BOOL_Qobs
<-
TRUE
}
}
else
if
(
inherits
(
OutputsModel
,
"GR"
))
{
}
else
if
(
inherits
(
OutputsModel
,
"GR"
)
&
!
is.null
(
Qobs
)
)
{
warning
(
"Incorrect length of 'Qobs'. Time series of observed flow not drawn"
)
}
BOOL_Snow
<-
FALSE
...
...
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