comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCrossSectionProcessor.java @ 9509:6146358c4842

Fixed: f2 sign corrected in vegetation zone height calculation, vegetation zone limit handling changed in the importer
author mschaefer
date Mon, 01 Oct 2018 09:53:36 +0200
parents 8b7bf26b8782
children ee6508687e3f
comparison
equal deleted inserted replaced
9508:056483975a9c 9509:6146358c4842
94 94
95 final double mw = mainWstValues.interpolateW(station, MAIN_VALUE_MQ); 95 final double mw = mainWstValues.interpolateW(station, MAIN_VALUE_MQ);
96 96
97 // Üfd = -70,559 ∗ ln((DGM - MW) + 0,5) + 80,711 97 // Üfd = -70,559 ∗ ln((DGM - MW) + 0,5) + 80,711
98 final double f1 = -70.559; 98 final double f1 = -70.559;
99 final double f2 = -88.711; 99 final double f2 = 88.711;
100 100
101 final double dgm = Math.exp((uefd - f2) / f1) + mw - 0.5; 101 final double dgm = Math.exp((uefd - f2) / f1) + mw - 0.5;
102 return dgm; 102 return dgm;
103 } 103 }
104 104

http://dive4elements.wald.intevation.org