|
On 08/06/2012 12:13, Margherita Di Leo wrote: Hi,
Hi Madi: Regarding the threshold value in your auxilliary parsing.py script, do you think it might be better to calcuclate a suggested value from the size of the original DEM, rather than just put in some random 10,000 or so. Obviously the user has to understand, and change the threshold to suit his needs, but if the script is going to contain some value, maybe it should be something "reasonable". I thought, for example to choose a suggested thresh size of num_cells/100. i.e.: N=`r.univar -g | grep "^n=" | cut -d "=" -f 2` THRESH=$(( $N / 100)) Does that sound reasonable? Since the python auxilliary script runs independently of GRASS, I'm not sure how how this would all merge together. But it's worth thinking about. Regards, Micha
|
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
