changeset 5247:d89f5d75223e new-fwa

Deactivate interpolation stop for gaps longer than 1.5 hours.
author Sascha L. Teichmann <teichmann@intevation.de>
date Tue, 12 May 2020 22:24:16 +0200
parents 6cbfa3c3803d
children 8c44b518141a
files pkg/controllers/fwa.go
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/fwa.go	Tue May 12 22:13:37 2020 +0200
+++ b/pkg/controllers/fwa.go	Tue May 12 22:24:16 2020 +0200
@@ -840,7 +840,8 @@
 			continue
 		}
 
-		if p2.when.Sub(p1.when).Hours() > 1.5 {
+		// TODO: Discuss if we want somethinh like this.
+		if false && p2.when.Sub(p1.when).Hours() > 1.5 {
 			// Don't interpolate ranges bigger then one and a half hour
 			continue
 		}