[GRASSLIST:8746] Re: r.fillnulls and res < 1

Markus Neteler neteler at itc.it
Mon Oct 24 14:58:23 EDT 2005


Hi Robert,


thanks for finding the problem. I have fixed it in 6.1-CVS and
6.0-CVS (for future 6.0.2).

You can grab it also at

 http://freegis.org/cgi-bin/viewcvs.cgi/grass6/scripts/r.fillnulls/

Now resolution of 0.48 are accepted as well.

Markus

On Mon, Oct 24, 2005 at 07:04:53PM +0200, Robert Nuske wrote:
> Hi listers,
> 
> I am having trouble with r.fillnulls and a raster having a resolution of 0.48.
> 
> Is it right that r.fillnulls only works for raster with a resolution > 1?
> Does the use of r.fillnulls only make sense with rasters having a  
> whole-numbered resolution?
> 
> I am no expert, but the result from line 129 and 130 are integers and the 
> calculation in line 131 is done by the shell, which knows only integer. 
> 
> How could I get sed to read the digits of my resolution? 
> What is the recommended way to get also the digits in line 131 (bc, awk,..)?
> 
> cheers,
>   robert
> 

-- 
Markus Neteler     <neteler itc it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-user mailing list