[GRASS-dev] r.univar: 'nan' results

Martin Landa landa.martin at gmail.com
Sun Sep 17 05:18:08 EDT 2006


Hi,

> (nan = not a number, GRASS uses NULL for the same idea, but NULL is not
> the same as nan.)

agreed, for me, it seems like a bug (v.to.rast?), in any case a 'nan'
value is an *invalid* cell value.

> If there are nan in the cell data, the r.univar calculations can't cope.
> The question is: how did nan cells get into the input raster map?

v.to.rast ?

> There is a possibility that there is a bug in r.univar..
> Try using r.mapcalc to isolate the nans? What does "r.info -r" say?

min=0.000000
max=358.264295

Martin

-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *




More information about the grass-dev mailing list