changeset 2913:cf6f595af2cb

Fixed SQL statement for nash sutcliffe calculation.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 03 Apr 2019 11:30:24 +0200
parents 93fa55bce126
children 84a40983bb9f
files pkg/controllers/gauges.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/gauges.go	Tue Apr 02 19:25:17 2019 +0200
+++ b/pkg/controllers/gauges.go	Wed Apr 03 11:30:24 2019 +0200
@@ -42,7 +42,7 @@
   water_level
 FROM waterway.gauge_measurements
 WHERE
-  a.fk_gauge_id = (
+  fk_gauge_id = (
     $1::char(2),
     $2::char(3),
     $3::char(5),