Description Usage Arguments Value Author(s) See Also Examples
View source: R/read.river.mom.R
Reads a MOM input file, which contains river runoff and riverine nutrient loads, and writes the data into a data.frame nested into a list. The list also contains units corresponding to the columns of the data.frame.
1 | read.river.mom(filename)
|
filename |
character: path/filename of the file to read |
list containing a data.frame (out$data), a character array (out$units), and two character variables (out$format and out$tstep). The first contains the actual data formatted as a data.frame. The second contains the units to the corresponding columns of the data.frame. The third contains the source/format of data (here: 'mom'; can also be 'swat'). The fourth contains information on the time step of the data (resp.: on which time interval they are averaged). The latter is set to 'monthly'.
Daniel Neumann, daniel.neumann@io-warnemuende.de
read.swat, read.swat.data.rch.2012
1 2 3 | # read a file:
test.mom <- read.river.mom('files/GER_Dan_Str_Warnow.dat')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.