Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightFacet.java @ 8151:a709e6334c4a
IDs can be assumed to be unique.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 28 Aug 2014 18:42:20 +0200 |
parents | b0cee7dfd6fe |
children | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
8150:fe67edde6189 | 8151:a709e6334c4a |
---|---|
75 /* Former doc (from BedHeightAccess): | 75 /* Former doc (from BedHeightAccess): |
76 * Return the {@link BedHeight} at the height_id and time of the artifact | 76 * Return the {@link BedHeight} at the height_id and time of the artifact |
77 * @return {@link BedHeight} */ | 77 * @return {@link BedHeight} */ |
78 BedHeightData data = BedHeightFactory.getHeight( | 78 BedHeightData data = BedHeightFactory.getHeight( |
79 access.getType(), | 79 access.getType(), |
80 access.getHeightId(), | 80 access.getHeightId()); |
81 access.getTime()); | |
82 //data.removeNaNs(); | 81 //data.removeNaNs(); |
83 TDoubleArrayList stations= data.getStations(); | 82 TDoubleArrayList stations= data.getStations(); |
84 double[][] values = new double[2][stations.size()]; | 83 double[][] values = new double[2][stations.size()]; |
85 for (int i = 0; i < stations.size(); i++) { | 84 for (int i = 0; i < stations.size(); i++) { |
86 values[0][i] = stations.get(i); | 85 values[0][i] = stations.get(i); |