Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/BezugswstHeightProcessor.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 | 2a67d05a1af0 |
children |
comparison
equal
deleted
inserted
replaced
9596:fbfd66e8fb81 | 9597:5395c6d4ca50 |
---|---|
92 if (bundle.getFacetName().startsWith(FACET_FIELD_BEDHEIGHT_PREFIX)) { | 92 if (bundle.getFacetName().startsWith(FACET_FIELD_BEDHEIGHT_PREFIX)) { |
93 final int fieldIndex = Integer.parseInt(bundle.getFacetName().substring(FACET_FIELD_BEDHEIGHT_PREFIX.length())); | 93 final int fieldIndex = Integer.parseInt(bundle.getFacetName().substring(FACET_FIELD_BEDHEIGHT_PREFIX.length())); |
94 return generateFieldHeightSeries(generator, bundle, theme, visible, fieldIndex); | 94 return generateFieldHeightSeries(generator, bundle, theme, visible, fieldIndex); |
95 } | 95 } |
96 | 96 |
97 return buildSeriesForType(generator, bundle, theme, visible, doGetType(bundle.getFacetName()), null); | 97 return buildSeriesForType(generator, bundle, theme, visible, doGetType(bundle.getFacetName()), GAP_DISTANCE); |
98 } | 98 } |
99 | 99 |
100 protected AbstractResultType doGetType(final String facetName) { | 100 protected AbstractResultType doGetType(final String facetName) { |
101 | 101 |
102 if (FACET_CHANNELMIN.contentEquals(facetName)) | 102 if (FACET_CHANNELMIN.contentEquals(facetName)) |
112 final boolean visible, final int fieldIndex) { | 112 final boolean visible, final int fieldIndex) { |
113 | 113 |
114 final BezugswstMainCalculationResult data = (BezugswstMainCalculationResult) getResult(generator, bundle); | 114 final BezugswstMainCalculationResult data = (BezugswstMainCalculationResult) getResult(generator, bundle); |
115 final double[][] points = data.getFieldValuePoints(fieldIndex, BunduResultType.bedHeightFields); | 115 final double[][] points = data.getFieldValuePoints(fieldIndex, BunduResultType.bedHeightFields); |
116 | 116 |
117 return buildSeriesForPoints(points, generator, bundle, theme, visible, null); | 117 return buildSeriesForPoints(points, generator, bundle, theme, visible, GAP_DISTANCE); |
118 } | 118 } |
119 } | 119 } |