summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorRanke Johannes <johannes.ranke@agroscope.admin.ch>2024-12-16 10:31:41 +0100
committerRanke Johannes <johannes.ranke@agroscope.admin.ch>2024-12-16 10:31:41 +0100
commitb0491cb4953ae752b7d14b1085222defee3b4505 (patch)
tree47e525db000778aee681faa32b6696376ae8cda1 /NEWS.md
parent72b426cc767e9737cc66e3d41edb064011ab009d (diff)
Fix a bug in UK drainage calculations
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.
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index d8c5cd2..193514e 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,3 +1,7 @@
+## version 0.6.4
+
+- R/PEC_sw_drainage_uk.R: Fix a bug leading to increased PEC values in the case the application date is after the beginning of the drainage period and `soil_DT50` was specified.
+
## version 0.6.3
- R/{PEC_sw_drift,PEC_sw_exposit_runoff,PEC_sw_sed}.R: Make use of the `units` package.

Contact - Imprint