[GRASSLIST:3388] s.surf.idw ques

Kevin Slover kjslover at nhc.noaa.gov
Tue Mar 26 08:31:06 EST 2002


	I am starting to use s.surf.idw for some elevation and surge heights,
just to get a "better" looking picture.  It seems to work much better
than r.neighbor for creating a higher resolution image.  However, I have
noticed that it takes null data and sets it equal to 0.  I have a mask
set to "enclose" my data, since I am working with an irregular shaped
data set.  
	Is there a way to set the 0 values to null??  I have used r.mapcalc,
using the command newmap = if(oldmap == 0, null(), 0)...however, this
gives me category map (0 and 1).  The other problem that I would run
into is that I would like to retain values of 0 in my interpolated
raster, which r.mapcalc would not be able to differentiate.  Any
thoughts??

p.s.  A quick mail question, is this message coming in text or html
format??!!  Thanks!!
-- 
LTJG Kevin Slover, NOAA
GIS Specialist/Meteorologist/Oceanographer
Tropical Prediction Center/Technical Support Branch
11691 SW 17th Street Miami FL 33165
(W) 305-229-4456  (F) 305-553-1264



More information about the grass-user mailing list