Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hydroPSO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Senoner Samuel
hydroPSO
Commits
1a833ce4
Commit
1a833ce4
authored
12 years ago
by
Mauricio Zambrano-Bigiarini
Browse files
Options
Downloads
Patches
Plain Diff
'plot_results' and 'plot_out': the default value for 'ftype' was changed from 'dm' to 'o'
parent
7c837f06
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
NEWS
+8
-4
8 additions, 4 deletions
NEWS
R/plot_out.R
+1
-1
1 addition, 1 deletion
R/plot_out.R
R/plot_results.R
+1
-1
1 addition, 1 deletion
R/plot_results.R
man/ReadPlot_out.Rd
+1
-1
1 addition, 1 deletion
man/ReadPlot_out.Rd
man/ReadPlot_results.Rd
+1
-1
1 addition, 1 deletion
man/ReadPlot_results.Rd
with
12 additions
and
8 deletions
NEWS
+
8
−
4
View file @
1a833ce4
...
...
@@ -2,10 +2,14 @@ NEWS/ChangeLog for hydroPSO
--------------------------
0.1-55 XX-May-2012
o 'hydromod': -) 'sim' and 'obs' are now checked for time attributes when 'gof.Ini' and/or 'gof.Fin' is/are used (thanks to M. Leh for reporting !)
o 'hydroPSO': -) fixed bug originated when 'gof.Ini' and/or 'gof.Fin' was/were not given as parameters for .model.FUN.args.
This bug orginated the following error during the run of the model with the best parameter set:
"Error in as.Date.default(model.FUN.args[["gof.Ini"]]) : do not know how to convert 'model.FUN.args[["gof.Ini"]]' to class "Date" "
o 'hydromod' : -) 'sim' and 'obs' are now checked for time attributes when 'gof.Ini' and/or 'gof.Fin' is/are used
(thanks to M. Leh for reporting !)
o 'hydroPSO' : -) fixed bug originated when 'gof.Ini' and/or 'gof.Fin' was/were not given as parameters for .model.FUN.args.
(thanks to M. Leh for reporting !)
This bug orginated the following error during the run of the model with the best parameter set:
"Error in as.Date.default(model.FUN.args[["gof.Ini"]]) : do not know how to convert 'model.FUN.args[["gof.Ini"]]' to class "Date" "
o 'plot_results' : the default value for 'ftype' was changed from "dm" to "o"
o 'plot_out' : the default value for 'ftype' was changed from "dm" to "o"
##############################################################
# Previous Releases: see old file 'ChangeLog' for details #
...
...
This diff is collapsed.
Click to expand it.
R/plot_out.R
+
1
−
1
View file @
1a833ce4
...
...
@@ -25,7 +25,7 @@ plot_out <- function(sim, obs,
ptype
=
c
(
"corr"
,
"ts"
,
"ecdf"
,
"quant2ecdf"
),
MinMax
=
NULL
,
#beh.thr=NA,
ftype
=
"
dm
"
,
# OPTIONAL, only used when 'ptype=="ts"'.See [hydroGOF]{ggof}
ftype
=
"
o
"
,
# OPTIONAL, only used when 'ptype=="ts"'.See [hydroGOF]{ggof}
FUN
=
mean
,
# OPTIONAL, only used when 'ptype=="ts"'.See [hydroGOF]{ggof}
verbose
=
TRUE
,
...
...
This diff is collapsed.
Click to expand it.
R/plot_results.R
+
1
−
1
View file @
1a833ce4
...
...
@@ -57,7 +57,7 @@ plot_results <- function(drty.out="PSO.out",
#######################################################
# Parameters for BestSim vs Obs ('plot_out')
modelout.cols
=
NULL
,
ftype
=
"
dm
"
,
ftype
=
"
o
"
,
FUN
=
mean
,
#### OPTIONS for ('plot_out') #####
quantiles.desired
=
c
(
0.05
,
0.5
,
0.95
),
...
...
This diff is collapsed.
Click to expand it.
man/ReadPlot_out.Rd
+
1
−
1
View file @
1a833ce4
...
...
@@ -24,7 +24,7 @@ read_out(file="Model_out.txt", modelout.cols=NULL, obs, MinMax=NULL, beh.thr=NA,
cex.axis=1.2, cex.main=1.2, cex.lab=1.2, do.png=FALSE, png.width=1500,
png.height=900, png.res=90, png.fname="ModelOut_vs_Obs.png")
plot_out(sim, obs, dates=NULL, ptype=c("corr", "ts", "ecdf", "quant2ecdf"),
MinMax=NULL, ftype="
dm
", FUN=mean, verbose=TRUE, weights=NULL, byrow=TRUE,
MinMax=NULL, ftype="
o
", FUN=mean, verbose=TRUE, weights=NULL, byrow=TRUE,
quantiles.desired= c(0.05,0.5,0.95), quantiles.labels=c("Q5","Q50","Q95"),
main=NULL, ylab="Probability", col="blue", leg.cex=1.2,
leg.pos="bottomright", cex.axis=1.2, cex.main=1.2, cex.lab=1.2,
...
...
This diff is collapsed.
Click to expand it.
man/ReadPlot_results.Rd
+
1
−
1
View file @
1a833ce4
...
...
@@ -56,7 +56,7 @@ plot_results(drty.out="PSO.out", param.names, gof.name="GoF", MinMax=NULL,
ptype="one",
%% Parameters for 'plot_out'
modelout.cols=NULL,
ftype="
dm
", FUN=mean,
ftype="
o
", FUN=mean,
quantiles.desired= c(0.05,0.5,0.95), quantiles.labels= c("Q5","Q50","Q95"),
%% Parameters for plot_convergence'
legend.pos="topright",
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment