diff options
| author | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2026-02-13 16:13:46 +0100 |
|---|---|---|
| committer | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2026-02-13 16:34:09 +0100 |
| commit | 24328f0fabc1982db01132bafb4dc65dd85b13e9 (patch) | |
| tree | 8be05ef33a2f932662841d323ab8e3fd924caf05 /NEWS.md | |
| parent | a59124dd18106f35e8a965bd173ab80d33ba9c84 (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.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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). |
