read.river.mom: Reads a river runoff/nutrient-load input file for the ocean...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/read.river.mom.R

Description

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.

Usage

1
read.river.mom(filename)

Arguments

filename

character: path/filename of the file to read

Value

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

Author(s)

Daniel Neumann, daniel.neumann@io-warnemuende.de

See Also

read.swat, read.swat.data.rch.2012

Examples

1
2
3
  # read a file:
  test.mom <- read.river.mom('files/GER_Dan_Str_Warnow.dat')
  

neumannd/riverdata documentation built on March 4, 2020, 4:22 a.m.