HydroRun.details: Extract details from HydroRun object

Description Usage Arguments Value Author(s) References Examples

Description

get.data.types extracts a list of data.types stored in a HydroRun object. get.stations extracts a list of stations for which data is available. get.runCount returns the number of runs stored in the object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
get.names(object, ...)
validity.check(object)
get.data.types(object, type = factor(c("flux", "state")),
 		origin = factor(c("simulated", "measured")), 
		runs = 1:max(object@metadata$run.ID))

get.stations(object, type = factor(c("flux", "state")), 
		origin = factor(c("simulated", "measured")), 
		data.types = get.data.types(object, type = type, origin = origin),
                 runs = 1:max(object@metadata$run.ID), unique = TRUE)

get.runCount(object)

Arguments

object

a HydroRun object

type

ToDo

origin

ToDo

unique

ToDo

...

Optional arguments for the get.names function

data.types

List of strings with the data.types for which to obtain information

stations

List of strings with the stations for which to obtain information

runs

Vector of run-indizes for which to get information

Value

A list of strings is returned.

Author(s)

Dominik Reusser, Wouter Buytaert

References

thePaper

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
library(RHydroWasimData)
file=system.file("controllfile.$$$", package="RHydroWasimData")

object <- wasim.read.Run(file)
get.data.types(object)
get.stations(object)

## End(Not run)


Search within the RHydro package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.