<div>Hi Maven,</div>
<div> </div>
<div>do you think that if you have min = -1267650600228229401496703205376.000000</div>
<div>is the same value you used on r.null setnull=-1.26765060022823e+030 ?</div>
<div> </div>
<div>I think following the Hamish's suggestion you will get there :-)</div>
<div><br>bests</div>
<div> </div>
<div>milton</div>
<div><br><br> </div>
<div class="gmail_quote">2010/1/20 maven apache <span dir="ltr"><<a href="mailto:apachemaven0@gmail.com">apachemaven0@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br><br>
<div class="gmail_quote">2010/1/21 Hamish <span dir="ltr"><<a href="mailto:hamish_b@yahoo.com" target="_blank">hamish_b@yahoo.com</a>></span>
<div class="im"><br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div>maven apache wrote:<br>> I have a geotiff now, and some cells have a not-expected<br>> value, so I want to Interpolation them, and I notice that<br>> there is a command named r.fillnull, however the cell to be<br>
> changed is not null, so I want to :<br>> 1) change the special cell value to null<br>><br>> 2) use the r.fillnull to Interpolation.<br>><br>> The problem is I do not know how to do the step 1 with<br>
> grass, anyone can do me a favor?<br><br><br></div></div>try r.null.<br><font color="#888888"><br><br>Hamish<br><br><br><br></font></blockquote></div>
<div>Hi;<br>It seems that the r.null does not work.<br><br>1) I use the <a href="http://r.info/" target="_blank">r.info</a> to get the info of the tiff which I have imported to grass and I got that:<br>Hi:<br><br>(Thu Jan 21 09:56:46 2010) <br>
<a href="http://r.info/" target="_blank">r.info</a> map=aaa@PERMANENT <br> +----------------------------------------------------------------------------+<br> | Layer: aaa@PERMANENT Date: Tue Jan 12 16:02:39 2010 |<br>
| Mapset: PERMANENT Login of Creator: Administrator |<br> | Location: hdf5loc |<br> | DataBase: D:\GrassDataBase |<br>
| Title: ( aaa ) |<br> | Timestamp: none |<br> |----------------------------------------------------------------------------|<br>
| |<br> | Type of Map: raster Number of Categories: 499 |<br> | Data Type: FCELL |<br>
| Rows: 720 |<br> | Columns: 1440 |<br> | Total Cells: 1036800 |<br>
| Projection: Latitude-Longitude |<br> | N: 90N S: 90S Res: 0:15 |<br> | E: 180E W: 180W Res: 0:15 |<br>
| Range of data: min = -1267650600228229401496703205376.000000 max = 4 |<br> | |<br> | Data Description: |<br>
| generated by r.in.gdal |<br> | |<br> | Comments: |<br>
| r.in.gdal input="D:\data\hdf5\aaa.tif" output="aaa" |<br> | |<br> +----------------------------------------------------------------------------+<br>
(Thu Jan 21 09:56:47 2010) Command finished (0 sec) <br>(Thu Jan 21 09:56:50 2010) <br><br><br>2)then I use r.null to set the null value to null: r.null setnull=-1.26765060022823e+030<br><br>
<br>3) I use the <a href="http://r.info/" target="_blank">r.info</a> again to see if it is changed :<br><a href="http://r.info/" target="_blank">r.info</a> -r map=aaa@PERMANENT <br>
min=-1.26765060022823e+030<br>max=498.5<br>(Thu Jan 21 09:56:50 2010) Command finished (0 sec) <br> </div></div>It seems that the valuse are not changed to null.<br><br>I wonder why?<br><br>_______________________________________________<br>
grass-user mailing list<br><a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br></blockquote></div><br>