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
58182222
Commit
58182222
authored
Jan 29, 2021
by
Delaigue Olivier
Browse files
v1.6.10.4 docs: rename LAG into Lag in help pages, vignette, comments ant test
parent
4ce6ecc7
Pipeline
#19777
canceled with stages
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
58182222
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.6.10.
3
Version: 1.6.10.
4
Date: 2021-01-29
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
...
...
NEWS.md
View file @
58182222
...
...
@@ -2,7 +2,7 @@
### 1.6.10.
3
Release Notes (2021-01-29)
### 1.6.10.
4
Release Notes (2021-01-29)
#### New features
...
...
R/RunModel.R
View file @
58182222
...
...
@@ -3,7 +3,7 @@ RunModel <- function(InputsModel, RunOptions, Param, FUN_MOD) {
FUN_MOD
<-
match.fun
(
FUN_MOD
)
if
(
inherits
(
InputsModel
,
"SD"
))
{
# L
AG M
odel take one parameter at the beginning of the vector
# L
ag m
odel take one parameter at the beginning of the vector
iFirstParamRunOffModel
<-
2
}
else
{
# All parameters
...
...
R/TransfoParam_Lag.R
View file @
58182222
...
...
@@ -16,7 +16,7 @@ TransfoParam_Lag <- function(ParamIn, Direction) {
stop
(
"'Direction' must be a character vector of length 1 equal to 'RT' or 'TR'"
)
}
if
(
ncol
(
ParamIn
)
!=
NParam
)
{
stop
(
sprintf
(
"the L
AG
model requires %i parameters"
,
NParam
))
stop
(
sprintf
(
"the L
ag
model requires %i parameters"
,
NParam
))
}
...
...
tests/testthat/test-RunModel_L
AG
.R
→
tests/testthat/test-RunModel_L
ag
.R
View file @
58182222
File moved
vignettes/V05_sd_model.Rmd
View file @
58182222
...
...
@@ -170,7 +170,7 @@ ParamDown2 <- OutputsCalibDown2$ParamFinalR
## Identification of Lag parameter
The theoretical L
AG
parameter should be equal to:
The theoretical L
ag
parameter should be equal to:
```{r}
Lag <- InputsModelDown1$LengthHydro / (2 * 86400)
...
...
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