read.qobsqsim: read qobs_qsim.txt (a COSERO output file)

View source: R/functions.r

read.qobsqsimR Documentation

read qobs_qsim.txt (a COSERO output file)

Description

Reads a qobs_qsim.txt file which is written by COSERO. Returns the recordings as list holding xts objects.

Usage

read.qobsqsim(x, ...)

Arguments

x

character string pointing towards the file qobs_qsim.txt

...

other arguments passed to read.table. Already defined are header (TRUE) and colClasses

Details

The file qobs_qsim.txt typically is located in the output folder of COSERO. However, by default, COSERO does NOT write this file. To tell COSERO to write this, use OUTCONTROL = 1 or 2 in the COSERO defaults file.

For reading Q_output.txt, which is always be written by COSERO, see readCosero.

Value

a list of length 2 with QOBS and QSIM values, respectively

Author(s)

Simon Frey

See Also

readCosero

Examples

fpath <- system.file("extdata","qobs_qsim.txt", package = "TigR")
out <- read.qobsqsim(fpath)
summary(out)

freysimon/TigeR documentation built on April 18, 2024, 4:57 p.m.