[GRASS-user] Python - GRASS module output, r.univar

2012-02-06 Thread Johannes Radinger
Hi, I try to write a python script for GRASS6.5 including a WHILE loop. A certain calculation step (iterative) should be performed until there are only NULL values in a raster. I am not sure what is the best way to find out if there are only NULL cells. I tried it with r.univar which gives no res

Re: [GRASS-user] Python - GRASS module output, r.univar

2012-02-06 Thread Glynn Clements
Johannes Radinger wrote: > I am not sure what is the best way to find out if there are > only NULL cells. I tried it with r.univar which gives no result > when there are only NULL cells in a raster (and no result is acutally > also a result :)). But how can I get that value to variable > in the p

Re: [GRASS-user] Python - GRASS module output, r.univar

2012-02-07 Thread Markus Neteler
Hi, I took liberty to add the notes here: http://grass.osgeo.org/wiki/GRASS_and_Python#NULL_data_management Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user