comparison flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java @ 447:5606ba4139e0

WSTs will now have a header that contains the names of the Ws or Qs that had been defined for the computation. flys-artifacts/trunk@1939 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 18 May 2011 08:04:54 +0000
parents c0bec245f608
children c8bb38115290
comparison
equal deleted inserted replaced
446:c0bec245f608 447:5606ba4139e0
169 169
170 for (WQKms[] tmp: data) { 170 for (WQKms[] tmp: data) {
171 for (WQKms wqkms: tmp) { 171 for (WQKms wqkms: tmp) {
172 int size = wqkms != null ? wqkms.size() : 0; 172 int size = wqkms != null ? wqkms.size() : 0;
173 173
174 writer.addColumn(wqkms.getName());
175
174 for (int i = 0; i < size; i++) { 176 for (int i = 0; i < size; i++) {
175 result = wqkms.get(i, result); 177 result = wqkms.get(i, result);
176 178
177 writer.add(result); 179 writer.add(result);
178 } 180 }

http://dive4elements.wald.intevation.org