Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadUnknownFacet.java @ 6755:91c43293e538
issue1433: Filter loaded unknown sediment yields by kind.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 06 Aug 2013 12:25:53 +0200 |
parents | b7945db8a43b |
children | a56fe3bc6700 |
comparison
equal
deleted
inserted
replaced
6753:e032e9e6d09e | 6755:91c43293e538 |
---|---|
33 | 33 |
34 SedimentLoadAccess access = new SedimentLoadAccess(flys); | 34 SedimentLoadAccess access = new SedimentLoadAccess(flys); |
35 String river = access.getRiver(); | 35 String river = access.getRiver(); |
36 String unit = access.getUnit(); | 36 String unit = access.getUnit(); |
37 SedimentLoad[] unknown = | 37 SedimentLoad[] unknown = |
38 SedimentLoadFactory.getSedimentLoadUnknown(river, unit.replace("_per_","/")); | 38 SedimentLoadFactory.getSedimentLoadUnknown( |
39 river, | |
40 unit.replace("_per_","/"), | |
41 access.getYearEpoch()); | |
39 | 42 |
40 SedimentLoad load = SedimentLoadFactory.getLoadUnknown( | 43 SedimentLoad load = SedimentLoadFactory.getLoadUnknown( |
41 river, unknown[index].getDescription()); | 44 river, unknown[index].getDescription()); |
42 return load; | 45 return load; |
43 } | 46 } |