[GRASS-user] r.resamp.rst Producing Bad Values

Carl Brown cbsled at verizon.net
Sat Sep 8 07:58:33 EDT 2007


On Thursday 06 September 2007, Hamish wrote:
> will r.null replace "nan" values?

Not in this case, at least.

But I did find a workaround using r.mapcalc:
(data= map with nan values)

test = round ( data )     # This transforms nans into nulls
fixed = if ( isnull ( test ), 0, data )

-- 
Carl Brown
Whitefield, NH USA




More information about the grass-user mailing list