diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-07-30 11:08:05 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-07-30 11:08:05 +0200 |
commit | 3260b0e875b7af24f2aef7bc2464418525a192df (patch) | |
tree | 61aaebf7531c5627afd7a5c434f5ff0f75ca98c8 /pkg/man | |
parent | b8f953d04e4094c79b4f860d99f3c1466ed3ad6a (diff) |
Fix the TOXSWA reading test
Since a recent commit we are reading the concentrations at the end
of each hour, so the test needed to be updated accordingly
Diffstat (limited to 'pkg/man')
-rw-r--r-- | pkg/man/read.TOXSWA_cwa.Rd | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkg/man/read.TOXSWA_cwa.Rd b/pkg/man/read.TOXSWA_cwa.Rd index aca2a56..84ef3da 100644 --- a/pkg/man/read.TOXSWA_cwa.Rd +++ b/pkg/man/read.TOXSWA_cwa.Rd @@ -5,7 +5,8 @@ \title{Read TOXSWA surface water concentrations} \usage{ read.TOXSWA_cwa(filename, basedir = ".", zipfile = NULL, segment = "last", - total = FALSE, windows = NULL, thresholds = NULL) + substance = "parent", total = FALSE, windows = NULL, + thresholds = NULL) } \arguments{ \item{filename}{The filename of the cwa file (TOXSWA 2.x.y or similar) or the @@ -18,6 +19,10 @@ out file (FOCUS TOXSWA 4, i.e. TOXSWA 4.4.2 or similar).} \item{segment}{The segment for which the data should be read. Either "last", or the segment number.} +\item{substance}{For TOXSWA 4 .out files, the default value "parent" leads +to reading concentrations of the parent compound. Alternatively, the substance +of interested can be selected by its code name.} + \item{total}{Set this to TRUE in order to read total concentrations as well. This is only necessary for .out files as generated by TOXSWA 4.4.2 or similar, not for .cwa files. For .cwa files, the total concentration is always read as well.} @@ -35,7 +40,7 @@ An instance of an R6 object of class \description{ Read TOXSWA hourly concentrations of a chemical substance in a specific segment of a TOXSWA surface water body. Per default, the data for the last -segment are imported. As TOXSWA reports the values at the end of the hour +segment are imported. As TOXSWA 4 reports the values at the end of the hour (ConLiqWatLayCur) in its summary file, we use this value as well instead of the hourly averages (ConLiqWatLay). } |