changeset 3497:1457e2b9d900

Set threshold for green gauge data availability to 85%. The SRS reads like 100%, but that seems unrealistic and the threshold shall be configurable anyway. In the meantime 85% makes things look nicer...
author Sascha Wilde <wilde@intevation.de>
date Mon, 27 May 2019 18:45:20 +0200
parents f10d606b2931
children 4d44eda484dd
files client/src/lib/classifications.js
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/lib/classifications.js	Mon May 27 18:34:18 2019 +0200
+++ b/client/src/lib/classifications.js	Mon May 27 18:45:20 2019 +0200
@@ -45,7 +45,8 @@
       if (
         gmN !== undefined &&
         gmN !== null &&
-        gmN >= 1344 // one value every 15 min in 14 days
+        gmN >= 1124 // 1344: one value every 15 min in 14 days, but the Hydra says:
+                    // let 85% be enough for now.
       ) {
         return "lime";
       }