Class "HydroRun" and "HydroModel" (to be merged)
The HydroRun class is capable of holding data for several simulation runs
Objects from the Class
Objects are created by calling a hydrological model implemented in R or an import routine for hydrological modelling results from an external model.
Objects from this class provide common plotting and evaluation functionality. Time series can be plotted for representations: rainfall-runoff-plots, plots sorted by data type or by station and time series that help to check the mass or energy balance. Further evaluation methods will be added in future versions.
Object of class
data.frame with columns "ID", "param.ID", "GIS.ID", "type", "name", "flux", "origin", "dimension", and "run.ID"
"data.frame"of performance measures - one data set each run.
List of additional data required for the model to run - usually spatial data
Call that returned this object
signature(x = "HydroRun", y = "ANY"): see ToDo for more details.
signature(x = "HydroRun"): ...
signature(x = "HydroModel"): ...
signature(object = "HydroRun"): Obtain list of names that can be accessed with $
signature(x = "HydroRun"): select a subset of the data ToDo: Improve documentation
signature(x = "HydroRun"): run validity checks on data ToDo: implement and improve documentation
signature(x = "HydroRun", y="missing"): Return the
NSefffor the HydroRun Object.
ToDo How are multiple runs stored, how does it work with different data sets, what are reserved data.types
Dominik Reusser, Wouter Buytaert
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
showClass("HydroRun") data(huagrahuma) attach(huagrahuma) output <- topmodel(parameters[1:9], inputs, topidx, delay) detach(huagrahuma) ## Not run: library(RHydroWasimData) file=system.file("controllfile.$$$", package="RHydroWasimData") object <- wasim.read.Run(file) class(object) plot(object, hydro.plot.type="rainfall-runoff") show(object) print(object) summary(object) ## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.