<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Glynn,
<br> The -z option should be kept, unless the r.neighbors
module is changed. What I noticed is that it included areas that were equal
to null, and set those to zero.
<br>Example using d.what.rast:
<p>81:43:52.5W 27:58:22.5N
<br> gabby62_rtest.rast in PERMANENT, quant (0)
<br> gabby62_rtest.rast in PERMANENT, actual (0.000000)no data
-> using r.neighbors -z option
<br> gabby62.rast in PERMANENT, quant
(Null)
<br> gabby62.rast in PERMANENT, actual
(Null)no data -> initial raster
<br>
<br>Maybe this is a bug...but I generally choose not to use the -z option,
and have found ways to work around the problem. I work with irregularly
shaped data sets...and taking out the -z option would make the images that
I create false...creating more work for me....
<br>
<br>
<br>
<p>Glynn Clements wrote:
<blockquote TYPE=CITE>Kevin Slover wrote:
<p>> I am using r.neighbors to increase the resolution of rasters that
I have
<br>> created, and have noticed something interesting...maybe it is my
lack of
<br>> understanding of something in the program, but....I am getting null
<br>> values in the resulting raster. It appears that it is setting
values of
<br>> 0 to null in the result...which then creates gaps in the images...any
<br>> ideas on what might be causing this??
<p>then:
<p>> Please disregard the last email from me. I just read one of
the options
<br>> for r.neighbors, and it appears that I should put a -z to preserve
zero
<br>> outputs...
<p>Should r.neighbors' "-z" flag be kept? Is there any reason why zero
<br>should be converted to null?
<p>--
<br>Glynn Clements <glynn.clements@virgin.net>
<br>_______________________________________________
<br>grass5 mailing list
<br>grass5@grass.itc.it
<br><a href="http://grass.itc.it/mailman/listinfo/grass5">http://grass.itc.it/mailman/listinfo/grass5</a></blockquote>
<pre>--
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</pre>
</html>