Reading RSMinerve result file
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.
See also
Other RS Minerve IO:
getChunkSize()
,
load_minerve_input_csv()
,
readDBCSV()
,
readForcingCSV()
,
readForcingSTR()
,
readRSMParameters()
,
readResultCSV()
,
readSelectionCHK()
,
translateCSVtoDST()
,
writeRSMParameters()
,
writeSelectionCHK()
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)
}