Thanks for making this patch available. I'll update to r31470 and tell you how
it goes.
-Original Message-
From: Glynn Clements [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 22, 2008 12:27 AM
To: Moskovitz, Bob
Cc: [EMAIL PROTECTED]; Grass-User (E-mail)
Subject: RE: [GRASS-user]
Based on what I read from that link I tried:
r.mapcalc q50_eh_nonan = if(q50_eh != q50_eh,null(),q50_eh)
It assigned nan to 0. It would be great if r.null can use such a simple trick.
-Original Message-
From: Hamish [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008 8:34
NaN is an abbreviation for Not a Number. Here is more info:
http://en.wikipedia.org/wiki/NaN
I was able to solve my problem by doing this: r.mapcalc q50_eh_nonan =
if(q50_eh != q50_eh,null(),q50_eh)
-Original Message-
From: Daniel Victoria [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
If by NaN you mean null values, you are looking for the r.null command
Daniel
On Tue, May 20, 2008 at 9:11 PM, Moskovitz, Bob
[EMAIL PROTECTED] wrote:
Hello All,
Is there a way to r.mapcalc or some other command to change NaN values in
rasters to another value?
Bob
Bob Moskovitz
Seismic
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:
http://thread.gmane.org/gmane.comp.gis.grass.devel/27160
and the question