[GRASS-user] Change NaN to 0 with r.mapcalc(or whatever)?

Hamish hamish_b at yahoo.com
Tue May 20 23:34:28 EDT 2008

Bob wrote:
> Is there a way to r.mapcalc or some other command to change
> NaN values in rasters to another value?

If you mean real "nan" not grass NULL values, see this thread from the grass-dev list from a few days ago:
and the question of where they came from.

For grass NULL values, r.null is your friend, or isnull(mapname) in r.mapcalc.



More information about the grass-user mailing list