Description Usage Arguments Value Author(s)
This function reads an output-txt File from WaSiM. It is usually called from other functions. Standard colum names are generated. Date and time are removed from the data object (see read.dates). Finaly, the time series are expanded with NA to fill a certain length (If simulations stoped to early).
1 | myRead.table(name, subcatchments, has_stat, ts.length, na.values)
|
name |
File name to read |
ts.length |
Number of expected data points for the time series. The resulting table is guaranteed to have this length |
subcatchments |
Number of subcatchments simulated |
has_stat |
boolean indicating wheter statistics column exists |
na.values |
String which identifies NA |
A table of dimension dim=c(subcatchments+1,ts.length). The last column contains the statistics column if existing.
Dominik Reusser
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.