Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffCalculation.java @ 6573:7d86ed4537d9
Cosmetics, doc, obsolete import removal.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 16 Jul 2013 10:43:59 +0200 |
parents | 0f5cacdd60a9 |
children | d4108d6c4000 |
comparison
equal
deleted
inserted
replaced
6572:d99575a659af | 6573:7d86ed4537d9 |
---|---|
16 import org.dive4elements.artifacts.CallContext; | 16 import org.dive4elements.artifacts.CallContext; |
17 import org.dive4elements.river.artifacts.access.BedDifferencesAccess; | 17 import org.dive4elements.river.artifacts.access.BedDifferencesAccess; |
18 import org.dive4elements.river.artifacts.model.Calculation; | 18 import org.dive4elements.river.artifacts.model.Calculation; |
19 import org.dive4elements.river.artifacts.model.CalculationResult; | 19 import org.dive4elements.river.artifacts.model.CalculationResult; |
20 | 20 |
21 | 21 /** |
22 * Perform calculation of differences of bed height (german Sohlhoehe). | |
23 * The input are either single year data or epochs. | |
24 */ | |
22 public class BedDiffCalculation | 25 public class BedDiffCalculation |
23 extends Calculation | 26 extends Calculation |
24 { | 27 { |
25 private static final Logger logger = | 28 private static final Logger logger = |
26 Logger.getLogger(BedDiffCalculation.class); | 29 Logger.getLogger(BedDiffCalculation.class); |
82 | 85 |
83 return new CalculationResult(); | 86 return new CalculationResult(); |
84 */ | 87 */ |
85 } | 88 } |
86 | 89 |
90 /** Get two BedHeights from factory. */ | |
87 private static BedHeight [] getHeightPair(int [] ids, String type) { | 91 private static BedHeight [] getHeightPair(int [] ids, String type) { |
88 return new BedHeight [] { | 92 return new BedHeight [] { |
89 BedHeightFactory.getHeight(type, ids[0], 0), | 93 BedHeightFactory.getHeight(type, ids[0], 0), |
90 BedHeightFactory.getHeight(type, ids[1], 0) | 94 BedHeightFactory.getHeight(type, ids[1], 0) |
91 }; | 95 }; |