comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculation.java @ 8951:322b0e6298ea

Work on SINFO FlowDepth-Development
author gernotbelger
date Fri, 16 Mar 2018 18:08:38 +0100
parents 5d5d482da3e9
children 45f1ad66560e
comparison
equal deleted inserted replaced
8950:b0aeed4c97c1 8951:322b0e6298ea
98 98
99 final String wspLabel = wstKms.getName(); 99 final String wspLabel = wstKms.getName();
100 final String soundingLabel = bedHeight.getInfo().getDescription(); 100 final String soundingLabel = bedHeight.getInfo().getDescription();
101 final String label = String.format("%s - %s", wspLabel, soundingLabel); 101 final String label = String.format("%s - %s", wspLabel, soundingLabel);
102 102
103 FlowDepthUtils.checkYearDifference(label, waterlevel, bedHeight.getInfo().getYear(), problems); 103 FlowDepthUtils.checkYearDifference(label, waterlevel.getYear(), bedHeight.getInfo().getYear(), problems);
104 checkWaterlevelDiscretisation(wstKms, calcRange, problems); 104 checkWaterlevelDiscretisation(wstKms, calcRange, problems);
105 // TODO: prüfen, ob sohlhöhen die calcRange abdecken/überschneiden 105 // TODO: prüfen, ob sohlhöhen die calcRange abdecken/überschneiden
106 106
107 /* re-determine the reference gauge, in the same way as the WaterlevelArtifact would do it */ 107 /* re-determine the reference gauge, in the same way as the WaterlevelArtifact would do it */
108 final RiverInfoProvider riverInfoProvider = infoProvider.forWaterlevel(waterlevel); 108 final RiverInfoProvider riverInfoProvider = infoProvider.forWaterlevel(waterlevel);

http://dive4elements.wald.intevation.org