comparison artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadExporter.java @ 8146:ce35bdf3d750

Let the facet know the period of it's data.
author Tom Gottfried <tom@intevation.de>
date Wed, 27 Aug 2014 15:09:45 +0200
parents cda45ed151ed
children 705f8b92fd66
comparison
equal deleted inserted replaced
8145:52504fc2cd58 8146:ce35bdf3d750
98 writeCSVHeader(writer); 98 writeCSVHeader(writer);
99 99
100 /* Prepare the values. The order of the fractions is given by the 100 /* Prepare the values. The order of the fractions is given by the
101 * header and thus static. */ 101 * header and thus static. */
102 102
103 /* The result is ordered by the peridods. For each period there is 103 /* The result is ordered by the periods. For each period there is
104 * then a map of km - fractions pairs which are the actual result. */ 104 * then a map of km-fraction pairs which are the actual result. */
105 105
106 TreeMap <String, TreeMap <Double, Double[]>> result_map = 106 TreeMap <String, TreeMap <Double, Double[]>> result_map =
107 new TreeMap<String, TreeMap<Double, Double[]>>(); 107 new TreeMap<String, TreeMap<Double, Double[]>>();
108 for (int i = 0; i < FRACTION_ORDER.length; i++) { 108 for (int i = 0; i < FRACTION_ORDER.length; i++) {
109 String name = FRACTION_ORDER[i]; 109 String name = FRACTION_ORDER[i];

http://dive4elements.wald.intevation.org