summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorRanke Johannes <johannes.ranke@agroscope.admin.ch>2026-02-13 16:13:46 +0100
committerRanke Johannes <johannes.ranke@agroscope.admin.ch>2026-02-13 16:34:09 +0100
commit24328f0fabc1982db01132bafb4dc65dd85b13e9 (patch)
tree8be05ef33a2f932662841d323ab8e3fd924caf05 /NEWS.md
parenta59124dd18106f35e8a965bd173ab80d33ba9c84 (diff)
Fix UK drainage for very early applications
Create a function `drainage_date_UK` that does not only respect the beginning of the drainage period on 1 October, but also the end of the drainage period on 30 April, and use it for determining the degradation time. Applications early in the year before 1 May will now correctly be calculated without degradation time.
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/NEWS.md b/NEWS.md
index 53a84c8..41a3da7 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,4 +1,6 @@
-## version 0.6.4
+## version 0.6.5
+
+- R/PEC_sw_drainage_UK.R: Create a function `drainage_date_UK` that does not only respect the beginning of the drainage period on 1 October, but also the end of the drainage period on 30 April, and use it for determining the degradation time. Applications early in the year before 1 May will now correctly be calculated without degradation time.
- R/PEC_sw_drift.R: Vectorise the function not only with respect to distances, rates and water depths, but also with respect to crop groups. Closes issue #2 reported by Julian Klein (@juklei).

Contact - Imprint