[GRASS5] [bug #3023] (grass) r.fillnulls doesn't work

Hamish hamish_nospam at yahoo.com
Tue Feb 22 19:02:39 EST 2005


> this bug's URL: http://intevation.de/rt/webrt?serial_num=3023
> ---------------------------------------------------------------------
> 
> Subject: r.fillnulls doesn't work

(works fine for me on 6.0beta2)


> GRASS Version: grass-6.0.cvs_src_snapshot_2005_02_12
> 
> I'm reffering here to a single 3" SRTM tile loaded using r.in.srtm.
> 
> r.fillnulls works very long and uses so much swap that mouse stops
> answering, temporarily, after several minutes.

at which point in the script? Here it takes a couple minutes to run,
long part is duing the v.surf.rst step but no runaway memory issues.
run "top" in another window to watch what is going on?

What is your region set to?
try 'g.region rast=(map)' first?

 
> Several error infos are printed (see below) and finally r.fillnulls
> fails to produce anything - in spite of claiming to have "Filled
> raster map is: N51E016_flnull".
> 
> Details:
> 
> r.fillnulls input=N51E016 output=N51E016_flnull tension=40. smooth=0.1
> 
> Using tmp file r_fillnulls_5276
> Locating and isolating NULL areas...
> r.buffer: 00000000 - illegal distance specification

what is the output of "g.region -gm" ??

I've just added some more error checking in CVS, can you update and try
again? maybe uncomment "echo RES=.." line?
(It won't fix your problem but will stop the script if this step fails.)


- In the script we should temporarily zoom to the raster limits with
g.region first?

- I wonder if we should look at using a bigger r.buffer/r.grow area to
get the slope etc at the edges of the hole a bit more correct?




Hamish




More information about the grass-dev mailing list