Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/BezugswstDepthProcessor.java @ 9597:5395c6d4ca50
Softwaretests...20181219 7.3: no interpolation of missing bed heights for Uinfo/Salix historical scenario and B&U/Bzws
author | mschaefer |
---|---|
date | Tue, 05 Feb 2019 15:47:58 +0100 |
parents | e8d8f90308dc |
children | 68acd2f44609 |
comparison
equal
deleted
inserted
replaced
9596:fbfd66e8fb81 | 9597:5395c6d4ca50 |
---|---|
88 if (bundle.getFacetName().startsWith(FACET_FIELD_DEPTH_PREFIX)) { | 88 if (bundle.getFacetName().startsWith(FACET_FIELD_DEPTH_PREFIX)) { |
89 final int fieldIndex = Integer.parseInt(bundle.getFacetName().substring(FACET_FIELD_DEPTH_PREFIX.length(), FACET_FIELD_DEPTH_PREFIX.length() + 2)); | 89 final int fieldIndex = Integer.parseInt(bundle.getFacetName().substring(FACET_FIELD_DEPTH_PREFIX.length(), FACET_FIELD_DEPTH_PREFIX.length() + 2)); |
90 return generateFieldDepthSeries(generator, bundle, theme, visible, fieldIndex); | 90 return generateFieldDepthSeries(generator, bundle, theme, visible, fieldIndex); |
91 } | 91 } |
92 | 92 |
93 return buildSeriesForType(generator, bundle, theme, visible, doGetType(bundle.getFacetName()), null); | 93 return buildSeriesForType(generator, bundle, theme, visible, doGetType(bundle.getFacetName()), GAP_DISTANCE); |
94 } | 94 } |
95 | 95 |
96 protected AbstractResultType doGetType(final String facetName) { | 96 protected AbstractResultType doGetType(final String facetName) { |
97 | 97 |
98 if (FACET_FLOWDEPTH_FILTERED.contentEquals(facetName)) | 98 if (FACET_FLOWDEPTH_FILTERED.contentEquals(facetName)) |
108 final boolean visible, final int fieldIndex) { | 108 final boolean visible, final int fieldIndex) { |
109 | 109 |
110 final BezugswstMainCalculationResult data = (BezugswstMainCalculationResult) getResult(generator, bundle); | 110 final BezugswstMainCalculationResult data = (BezugswstMainCalculationResult) getResult(generator, bundle); |
111 final double[][] points = data.getFieldValuePoints(fieldIndex, BunduResultType.depthFields); | 111 final double[][] points = data.getFieldValuePoints(fieldIndex, BunduResultType.depthFields); |
112 | 112 |
113 return buildSeriesForPoints(points, generator, bundle, theme, visible, null); | 113 return buildSeriesForPoints(points, generator, bundle, theme, visible, GAP_DISTANCE); |
114 } | 114 } |
115 } | 115 } |