Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/WINFOArtifact.java @ 9534:b380a5693514
Calculation of Dauerlinie corrected in WInfo (fix wst position according to a reference gauge, km specific discharge instead of that of the gauge);
using same calculation in SInfo flood duration
author | mschaefer |
---|---|
date | Thu, 11 Oct 2018 18:39:21 +0200 |
parents | 2b83d3a96703 |
children | 6c1ebf2220f5 |
comparison
equal
deleted
inserted
replaced
9533:d9fda7af24ca | 9534:b380a5693514 |
---|---|
317 final Object[] obj = gauge.fetchDurationCurveData(); | 317 final Object[] obj = gauge.fetchDurationCurveData(); |
318 | 318 |
319 final int[] days = (int[]) obj[0]; | 319 final int[] days = (int[]) obj[0]; |
320 final double[] qs = (double[]) obj[1]; | 320 final double[] qs = (double[]) obj[1]; |
321 | 321 |
322 final Calculation3 calculation = new Calculation3(location, days, qs); | 322 final Calculation3 calculation = new Calculation3(location, days, qs, gauge.getStation().doubleValue()); |
323 | 323 |
324 return calculation.calculate(wst); | 324 return calculation.calculate(wst); |
325 } | 325 } |
326 | 326 |
327 /** | 327 /** |