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
37c64a55
Commit
37c64a55
authored
Aug 28, 2018
by
Delaigue Olivier
Browse files
v1.0.12.0 Calibration_Michel is now faster during the grid-screening step #5323
parent
1850e9b1
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
37c64a55
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.0.1
1.1
Date: 2018-08-
09
Version: 1.0.1
2.0
Date: 2018-08-
28
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
person("Charles", "Perrin", role = c("aut", "ths"), comment = c(ORCID = "0000-0001-8552-1881")),
...
...
NEWS.rmd
View file @
37c64a55
...
...
@@ -14,6 +14,13 @@ output:
### 1.0.12.0 Release Notes (2018-08-28)
#### Major user-visible changes
- <code>Calibration_Michel()</code> is now faster during the grid-screening step when a parameter is set using <code>FixedParam</code> in <code>CreateCalibOptions</code>.
### 1.0.11.0 Release Notes (2018-07-18)
...
...
R/Calibration_Michel.R
View file @
37c64a55
...
...
@@ -119,7 +119,9 @@ Calibration_Michel <- function(InputsModel, RunOptions, InputsCrit, CalibOptions
##Definition_of_the_function_creating_all_possible_parameter_sets_from_different_values_for_each_parameter
ProposeCandidatesGrid
<-
function
(
DistribParam
)
{
Output
<-
list
(
NewCandidates
=
expand.grid
(
lapply
(
seq_len
(
ncol
(
DistribParamR
)),
function
(
x
)
DistribParam
[,
x
])))
NewCandidates
<-
expand.grid
(
lapply
(
seq_len
(
ncol
(
DistribParamR
)),
function
(
x
)
DistribParam
[,
x
]))
NewCandidates
<-
unique
(
NewCandidates
)
# to avoid duplicates when a parameter is set
Output
<-
list
(
NewCandidates
=
NewCandidates
)
}
...
...
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