Skip to contents

Reading RSMinerve result file

Usage

readResultDST(filepath, chunk_size, tz = "UTC")

Arguments

filepath

String with path to file to be read.

chunk_size

Numeric telling how many lines to read for each model component.

tz

Time zone to be passed to as_datetime. Defaults to "UTC".

Value

A tibble with time series of simulation results for all model components.

Details

Use getChunkSize to retrieve the chunk size for the simulation resutls to read.

Examples

if (FALSE) {
filepath <- normalizePath(file.path("Tutorial01-results.dst"))
chunk_size <- getChunkSize(
  lubridate::as_datetime("02.09.2013 00:00:00",format = "%d.%m.%Y %H:%M:%S"),
  lubridate::as_datetime("09.09.2013 00:00:00", format = "%d.%m.%Y %H:%M:%S"),
  3600
)
result <- readResultDXT(filepath, chunk_size)
}