readResultDST: Reading RSMinerve result file

View source: R/readResultDST.R

readResultDSTR Documentation

Reading RSMinerve result file

Description

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".

Details

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

Value

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

See Also

getChunkSize

Other RS Minerve IO: getChunkSize(), load_minerve_input_csv(), readDBCSV(), readForcingCSV(), readForcingSTR(), readRSMParameters(), readResultCSV(), readSelectionCHK(), translateCSVtoDST(), writeRSMParameters(), writeSelectionCHK()

Examples

## Not run: 
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)

## End(Not run)

hydrosolutions/riversCentralAsia documentation built on Feb. 7, 2023, 4:50 p.m.