Description Usage Arguments Author(s) See Also
Function for reading the ‘output.sed’ files of SWAT 2009 and not in SWAT 2005 (regarding sediment loads), and giving as output a data.frame with the columns of the read file.
The ‘output.sed’ file has 1 row representing the header, 4 columns with the text ‘RCH’, ‘GIS’, ‘MON’, ‘AREA’, and 19 additional colums with results regarding sediments loads on reaches.
1 2 |
file |
the name of the file which the data are to be read from. If it does not contain an _absolute_ path, the file name is _relative_ to the current working directory, 'getwd()'. Tilde-expansion is performed where supported. |
rchID |
OPTIONAL. Integer with the number of the reach for which the results will be provided. |
col.names |
OPTIONAL. character with the column name in |
tstep |
Time step used for the simulation that created the ‘output.sed’ file. |
Date.Ini |
OPTIONAL, only used when |
Date.Fin |
OPTIONAL, only used when |
date.fmt |
character, with the format used to define |
verbose |
logical; if TRUE, progress messages are printed |
Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com
read_rch
, read_sub
, read_hru
, read_rsv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.