aboutsummaryrefslogtreecommitdiff
path: root/man/PEC_sw_drift.Rd
diff options
context:
space:
mode:
authorRanke Johannes <johannes.ranke@agroscope.admin.ch>2024-08-13 10:58:16 +0200
committerRanke Johannes <johannes.ranke@agroscope.admin.ch>2024-08-13 11:00:17 +0200
commit396ba6c42252426a132be56b9f417786a1f276e3 (patch)
treedacbad92ab168e0dfc1b70c6f8c7a3af29243d96 /man/PEC_sw_drift.Rd
parent870c7f6315e2656fceea28449bdeb5b2a57adf10 (diff)
Support units in drift, runoff und sediment PECs
Diffstat (limited to 'man/PEC_sw_drift.Rd')
-rw-r--r--man/PEC_sw_drift.Rd14
1 files changed, 10 insertions, 4 deletions
diff --git a/man/PEC_sw_drift.Rd b/man/PEC_sw_drift.Rd
index c576753..3db80d7 100644
--- a/man/PEC_sw_drift.Rd
+++ b/man/PEC_sw_drift.Rd
@@ -7,7 +7,7 @@
PEC_sw_drift(
rate,
applications = 1,
- water_depth = 30,
+ water_depth = as_units("30 cm"),
drift_percentages = NULL,
drift_data = c("JKI", "RF"),
crop_group_JKI = c("Ackerbau", "Obstbau frueh", "Obstbau spaet", "Weinbau frueh",
@@ -16,14 +16,15 @@ PEC_sw_drift(
"fruit, early", "aerial"),
distances = c(1, 5, 10, 20),
formula = c("Rautmann", "FOCUS"),
- water_width = 100,
+ water_width = as_units("100 cm"),
side_angle = 90,
rate_units = "g/ha",
PEC_units = "µg/L"
)
}
\arguments{
-\item{rate}{Application rate in units specified below}
+\item{rate}{Application rate in units specified below, or with units defined via the
+\code{units} package.}
\item{applications}{Number of applications for selection of drift percentile}
@@ -53,7 +54,8 @@ calculated as described in Chapter 5.4.5 of the FOCUS surface water guidance}
\item{side_angle}{The angle of the side of the water relative to the bottom which
is assumed to be horizontal, in degrees. The SYNOPS model assumes 45 degrees here.}
-\item{rate_units}{Defaults to g/ha}
+\item{rate_units}{Defaults to g/ha. For backwards compatibility, only used
+if the specified rate does not have \link[units:units]{units::units}].}
\item{PEC_units}{Requested units for the calculated PEC. Only µg/L currently supported}
}
@@ -65,6 +67,10 @@ This is a basic, vectorised form of a simple calculation of a contaminant
concentration in surface water based on complete, instantaneous mixing
with input via spray drift.
}
+\details{
+It is recommened to specify the arguments \code{rate}, \code{water_depth} and
+\code{water_width} using \link[units:units]{units::units} from the \code{units} package.
+}
\examples{
PEC_sw_drift(100)
# Alternatively, we can use the formula for a single application to

Contact - Imprint