Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/utils/FLYSUtils.java @ 2555:ba46af45b6e4
Write the gauge description instead of the Q value to CSV file.
flys-artifacts/trunk@4070 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 17 Feb 2012 09:20:02 +0000 |
parents | c7dbe696286c |
children | efb2038783f9 |
comparison
equal
deleted
inserted
replaced
2554:ee5eca3871cb | 2555:ba46af45b6e4 |
---|---|
343 * @param flys A FLYSArtifact. | 343 * @param flys A FLYSArtifact. |
344 * | 344 * |
345 * @return the Qs. | 345 * @return the Qs. |
346 */ | 346 */ |
347 public static double[] getQs(FLYSArtifact flys) { | 347 public static double[] getQs(FLYSArtifact flys) { |
348 double[] kmRange = getKmRange(flys); | |
349 | |
350 // XXX this is not nice! | 348 // XXX this is not nice! |
351 if (flys instanceof WINFOArtifact) { | 349 if (flys instanceof WINFOArtifact) { |
352 return ((WINFOArtifact) flys).getQs(kmRange); | 350 return ((WINFOArtifact) flys).getQs(); |
353 } | 351 } |
354 | 352 |
355 logger.warn("This method currently supports WINFOArtifact only!"); | 353 logger.warn("This method currently supports WINFOArtifact only!"); |
356 | 354 |
357 return null; | 355 return null; |