comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthminmax/FlowDepthMinMaxState.java @ 8993:0adc6d04de95

SInfo - FlowDepthMinMax: choosing bed heights, not bed height min and max separately
author gernotbelger
date Wed, 11 Apr 2018 14:09:13 +0200
parents b194fa64506a
children 23945061daec
comparison
equal deleted inserted replaced
8981:2e27061d9a93 8993:0adc6d04de95
80 for (int index = 0; index < resultList.size(); index++) { 80 for (int index = 0; index < resultList.size(); index++) {
81 81
82 final FlowDepthMinMaxCalculationResult result = resultList.get(index); 82 final FlowDepthMinMaxCalculationResult result = resultList.get(index);
83 83
84 /* filtered (zoom dependent mean) flow depth */ 84 /* filtered (zoom dependent mean) flow depth */
85 if (result.hasMin()) { 85 facets.add(FlowDepthProcessor.createFlowDepthMinFilteredFacet(context, hash, this.id, result, index));
86 facets.add(FlowDepthProcessor.createFlowDepthMinFilteredFacet(context, hash, this.id, result, index)); 86 facets.add(FlowDepthProcessor.createFlowDepthMinRawFacet(context, hash, this.id, result, index));
87 facets.add(FlowDepthProcessor.createFlowDepthMinRawFacet(context, hash, this.id, result, index)); 87 facets.add(FlowDepthProcessor.createFlowDepthMaxFilteredFacet(context, hash, this.id, result, index));
88 } 88 facets.add(FlowDepthProcessor.createFlowDepthMaxRawFacet(context, hash, this.id, result, index));
89
90 if (result.hasMax()) {
91 facets.add(FlowDepthProcessor.createFlowDepthMaxFilteredFacet(context, hash, this.id, result, index));
92 facets.add(FlowDepthProcessor.createFlowDepthMaxRawFacet(context, hash, this.id, result, index));
93 }
94 } 89 }
95 90
96 if (!resultList.isEmpty()) { 91 if (!resultList.isEmpty()) {
97 facets.add(new DataFacet(FacetTypes.CSV, "CSV data", ComputeType.ADVANCE, hash, this.id)); 92 facets.add(new DataFacet(FacetTypes.CSV, "CSV data", ComputeType.ADVANCE, hash, this.id));
98 facets.add(new DataFacet(FacetTypes.PDF, "PDF data", ComputeType.ADVANCE, hash, this.id)); 93 facets.add(new DataFacet(FacetTypes.PDF, "PDF data", ComputeType.ADVANCE, hash, this.id));

http://dive4elements.wald.intevation.org