comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/inundationduration/InundationDurationCalculation.java @ 9118:431f1c269be5

Veg-Zone Table improved, State change data recovery;
author gernotbelger
date Mon, 04 Jun 2018 19:38:59 +0200
parents 611a523fc42f
children 23945061daec
comparison
equal deleted inserted replaced
9117:623b51bf03d7 9118:431f1c269be5
22 import org.dive4elements.river.artifacts.resources.Resources; 22 import org.dive4elements.river.artifacts.resources.Resources;
23 import org.dive4elements.river.artifacts.sinfo.common.SInfoResultType; 23 import org.dive4elements.river.artifacts.sinfo.common.SInfoResultType;
24 import org.dive4elements.river.artifacts.sinfo.util.CalculationUtils; 24 import org.dive4elements.river.artifacts.sinfo.util.CalculationUtils;
25 import org.dive4elements.river.artifacts.sinfo.util.RiverInfo; 25 import org.dive4elements.river.artifacts.sinfo.util.RiverInfo;
26 import org.dive4elements.river.artifacts.uinfo.UINFOArtifact; 26 import org.dive4elements.river.artifacts.uinfo.UINFOArtifact;
27 import org.dive4elements.river.artifacts.uinfo.vegetationzones.VegetationZoneAccessHelper; 27 import org.dive4elements.river.artifacts.uinfo.vegetationzones.VegetationZone;
28 import org.dive4elements.river.model.River; 28 import org.dive4elements.river.model.River;
29 29
30 /** 30 /**
31 * @author Domenico Nardi Tironi 31 * @author Domenico Nardi Tironi
32 * 32 *
54 final int[] totalEpoch = indurax.getTotalEpoch(); 54 final int[] totalEpoch = indurax.getTotalEpoch();
55 final Integer year = indurax.getYear(); // null bei year -> Integer.. evtl ungünstig.. evtl. anders lösen 55 final Integer year = indurax.getYear(); // null bei year -> Integer.. evtl ungünstig.. evtl. anders lösen
56 final DoubleRange range = indurax.getRange(); 56 final DoubleRange range = indurax.getRange();
57 final Double sedimentHeight = indurax.getSedimentHeight(); 57 final Double sedimentHeight = indurax.getSedimentHeight();
58 final String zonesRaw = indurax.getVegZones(); 58 final String zonesRaw = indurax.getVegZones();
59 final List<VegetationZoneAccessHelper> zones = VegetationZoneAccessHelper.parse(zonesRaw); 59 final List<VegetationZone> zones = VegetationZone.parse(zonesRaw);
60 60
61 final InundationDurationCalculationResults results = new InundationDurationCalculationResults(calcModeLabel, user, riverInfo, calcRange); 61 final InundationDurationCalculationResults results = new InundationDurationCalculationResults(calcModeLabel, user, riverInfo, calcRange);
62 62
63 final Collection<ResultRow> rows = new ArrayList<>(); 63 final Collection<ResultRow> rows = new ArrayList<>();
64 64

http://dive4elements.wald.intevation.org