Mercurial > dive4elements > river
diff flys-artifacts/ChangeLog @ 339:4509ba8fae68
Implementation of "Abflusskurve/Abflusstafel" calculation.
flys-artifacts/trunk@1738 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 20 Apr 2011 14:26:51 +0000 |
parents | cf84f0f926e9 |
children | b36fd8f21e6a |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Wed Apr 20 13:13:19 2011 +0000 +++ b/flys-artifacts/ChangeLog Wed Apr 20 14:26:51 2011 +0000 @@ -1,3 +1,17 @@ +2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: + Implementation of "Abflusskurve/Abflusstafel" calculation. + + Added method interpolateWQ() which takes an km and results in a + tuple of two double arrays containing the w/q values interpolated + between the surrounding w/q values of the table. + w values are interpolated linear, q values with a cubic spline. + + Drawing w over q gives you the discharge table at the given km. + + !!! This code needs testing !!! + 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0) @@ -15,7 +29,7 @@ 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: - add a method interpolateW() method which takes an array of + add a method interpolateW() which takes an array of q values and returns an equal sized array of w values. This is essentially the "Wasserstand/Wasserspiegellagen" calculation of desktop FLYS.