Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFacet.java @ 8033:5e3f4b4fcb28
New way to loaded sediment loads from database and cache it. The data structure a way more straight forward. TODO: Implement calculation on this basis.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Tue, 15 Jul 2014 12:47:52 +0200 |
parents | 963ede7b32bb |
children |
comparison
equal
deleted
inserted
replaced
8032:fd3a24336e6a | 8033:5e3f4b4fcb28 |
---|---|
174 values[0][i*3+1] = endValue; | 174 values[0][i*3+1] = endValue; |
175 values[1][i*3+1] = kmLoad.getValue(); | 175 values[1][i*3+1] = kmLoad.getValue(); |
176 values[0][i*3+2] = endValue; | 176 values[0][i*3+2] = endValue; |
177 values[1][i*3+2] = kmLoad.getValue(); | 177 values[1][i*3+2] = kmLoad.getValue(); |
178 matchFound = true; | 178 matchFound = true; |
179 break; | |
179 } | 180 } |
180 } | 181 } |
181 // Store points without match for later assessment. | 182 // Store points without match for later assessment. |
182 if (!matchFound) { | 183 if (!matchFound) { |
183 logger.warn("measurement without station ("+kmLoad.getKey()+")!"); | 184 logger.warn("measurement without station ("+kmLoad.getKey()+")!"); |