diff flys-artifacts/ChangeLog @ 3065:ee653971fa84

FixA: Figure out max Q during fitting. flys-artifacts/trunk@4649 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 13 Jun 2012 10:19:44 +0000
parents 478e8d9d88ba
children 4c22194b733a
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Jun 13 09:28:39 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Jun 13 10:19:44 2012 +0000
@@ -1,3 +1,20 @@
+2012-06-11	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java,
+	  src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java,
+	  src/main/java/de/intevation/flys/artifacts/model/fixings/AnalysisPeriod.java:
+	  Max Q is store in column "max_q" in Parameters now. So function can be plotted
+	  bewtween calculated kms, too.
+	  For function sampling use something like this.:
+
+	    double [] maxQ = parameters.interpolate("km", 42.3", new String [] { "max_q" });
+	    double maxSampleQ = 10000d;
+
+	    if (maxQ != null) {
+	        maxSampleQ = Math.min(2000d, Math.abs(maxQ[0]));
+	        maxSampleQ += 0.05*maxSampleQ;
+	   }
+
 2012-06-13	Christian Lins	<christian.lins@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/XYChartGenerator.java:

http://dive4elements.wald.intevation.org