Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java @ 3067:d87aadaa4f7e
Add FixDerivedCurveGenerator class
flys-artifacts/trunk@4651 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Wed, 13 Jun 2012 12:21:22 +0000 |
parents | 7660cfe5e8f6 |
children | 0ace00c0c12a |
comparison
equal
deleted
inserted
replaced
3066:4c22194b733a | 3067:d87aadaa4f7e |
---|---|
76 Parameters params = result.getParameters(); | 76 Parameters params = result.getParameters(); |
77 String[] columnNames = params.getColumnNames(); | 77 String[] columnNames = params.getColumnNames(); |
78 for(String columnName : columnNames) { | 78 for(String columnName : columnNames) { |
79 logger.debug("FixWQCurveFacet.getData: columnName = '" + columnName + "'"); | 79 logger.debug("FixWQCurveFacet.getData: columnName = '" + columnName + "'"); |
80 } | 80 } |
81 int row = params.binarySearch("km", km /*, Math.pow(10, -4)*/); //FIXME Use epsilon as soon access.getCurrentKm() is fixed | 81 int row = params.binarySearch("km", km, Math.pow(10, -4)); |
82 if(row < 0) { | 82 if(row < 0) { |
83 row = -row - 1; | 83 row = -row - 1; |
84 logger.debug("getData: no direct hit in params.binarySearch"); | 84 logger.debug("getData: no direct hit in params.binarySearch"); |
85 } | 85 } |
86 String[] paramNames = ff.getParameterNames(); | 86 String[] paramNames = ff.getParameterNames(); |