Mercurial > dive4elements > river
view etl/bin/run.sh @ 8748:36d7bda0b47a
(issue1788) Fix area split if there are no NaN's in the data
The split algorithmn splits in a way that it always creates
at least two datasets. One before the NaN, one after the NaN.
This is broken in case the dataset does not contain any NaN
value as it resulted in two identical datasets. This changed
the display and resulted in a broken area calculation.
I've also added some commented out debug code that was helpful
tracking down this problem.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 08 Jun 2015 16:53:54 +0200 |
parents | 5aa05a7a34b7 |
children | d8d71005a210 |
line wrap: on
line source
#!/bin/bash bin_dir=`dirname $0` bin_dir=`readlink -f $bin_dir` exec java \ -Dlog4j.configuration=file://$bin_dir/log4j.properties \ -Dconfig.file=$bin_dir/../doc/conf-oracle.xml \ -jar $bin_dir/etl.jar