summaryrefslogtreecommitdiff
path: root/R/PEC_sw_drainage_UK.R
AgeCommit message (Collapse)AuthorFilesLines
2025-02-13Tests for 29 February in UK drainage, docsJohannes Ranke1-0/+4
2025-02-13Update PEC_sw_drainage_UK.RElisabeth Lutz1-2/+5
Die Funktion konnte für Anwendungen in Schaltjahren am 29 Februar keinen PEC berechnen. Mit dieser Korrektur, sollte es nun klappen.
2024-12-16Fix a bug in UK drainage calculationsRanke Johannes1-11/+14
If a soil_DT50 was specified, and the application date was later than the beginning of the drainage period (1 October), PECsw would increase. Now the amount available at the time of the drainage period is equal to the applied amount (minus interception) if application is later than the beginning of the drainage period. Fixes #4. Thanks to @lutzeli for spotting the problem.
2020-07-07Remove copyright headers, update TOXSWA_cwa testJohannes Ranke1-17/+0
- The window column of the windows component of a TOXSWA_cwa object is not a factor any more, but a character vector. - testthat::expect_equal_to_reference is replaced by testthat::expect_known_output, so we can have git diff show what has changed
2019-09-27Fix for UK drainage, some EFSA interception and washoffJohannes Ranke1-0/+8
- PEC_sw_drainage_UK() gave results that were a little bit too high for the substances with the highest Koc (>4000), as I used 0.01% instead of 0.008% for them. This must have come from an old vesion of the UK data requirements handbook, at least I do not have another explanation - Add EFSA interception (from 2014 DegT50 guidance) and tier 1 crop wash-off factors (from 2017 PEC soil guidance) for some major arable crops - Update docs
2016-09-27Reorganise repository using standard package layoutJohannes Ranke1-0/+66

Contact - Imprint