View source: R/readResultDST.R
readResultDST | R Documentation |
Reading RSMinerve result file
readResultDST(filepath, chunk_size, tz = "UTC")
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". |
Use getChunkSize
to retrieve the chunk size for the simulation resutls to read.
A tibble with time series of simulation results for all model components.
getChunkSize
Other RS Minerve IO:
getChunkSize()
,
load_minerve_input_csv()
,
readDBCSV()
,
readForcingCSV()
,
readForcingSTR()
,
readRSMParameters()
,
readResultCSV()
,
readSelectionCHK()
,
translateCSVtoDST()
,
writeRSMParameters()
,
writeSelectionCHK()
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.