[GRASS-user] run grass in linux command -- r.fillnulls errors

maven apache apachemaven0 at gmail.com
Tue Mar 2 08:55:12 EST 2010


Hi:
When I run grass in command line model, the r.fillnulls can not be
completed, I post the input and output in the terminal , I hope some one can
check it :
----------------------------
GRASS 6.4.0RC5 (spearfish60):~/grass/GrassDataBase > g.gisenv
GISDBASE=/home/kk/grass/GrassDataBase
LOCATION_NAME=spearfish60
MAPSET=PERMANENT
GRASS_GUI=text
MONITOR=cairo7

GRASS 6.4.0RC5 (spearfish60):~/grass/GrassDataBase > r.in.gdal
input=/home/kk/grass/data/4404.tif output=aa location=al
Location <al> created
 100%
r.in.gdal complete. Raster map <aa> created.

GRASS 6.4.0RC5 (spearfish60):~/grass/GrassDataBase > g.mapset location=al
mapset=PERMANENT
Erasing monitors...
Cleaning up temporary files...
WARNING: Your shell continues to use the history for the old mapset
You can switch the history by commands:
history -w; history -r
/home/kk/grass/GrassDataBase/al/PERMANENT/.bash_history;
HISTFILE=/home/kk/grass/GrassDataBase/al/PERMANENT/.bash_history

GRASS 6.4.0RC5 (spearfish60):~/grass/GrassDataBase > g.gisenv
GISDBASE=/home/kk/grass/GrassDataBase
LOCATION_NAME=al
MAPSET=PERMANENT
GRASS_GUI=text
MONITOR=cairo7

GRASS 6.4.0RC5 (spearfish60):~/grass/GrassDataBase > r.null map=aa
setnull=-1.267e+30--1.268e+30
 100%

GRASS 6.4.0RC5 (spearfish60):~/grass/GrassDataBase > r.fillnulls input=aa
output=abc tension=40 smooth=0.1
Locating and isolating NULL areas...
 100%
Reading input raster map <r_fillnulls_10653 at PERMANENT>...
 100%
Finding buffer zones...
 100%
Writing output raster map <r_fillnulls_10653.buf>...
 100%
 100%
Creating interpolation points...
WARNING: Default driver / database set to:
         driver: dbf
         database: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
Extracting points...
 100%
Building topology for vector map <vecttmp_fillnulls_10653>...
Registering primitives...
704828 primitives registered
704828 vertices registered
Building areas...
 100%
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
 100%
Number of nodes: 704828
Number of primitives: 704828
Number of points: 704828
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
r.to.vect complete.
Interpolating 704828 points
Note: The following warnings may be ignored.
Removing raster <MASK>
Using segmentation for interpolation...
Percent complete:
Loading data from attribute table ...
Reading lines from vector map ...
Reading nodes from vector map ...
 100%
 100%
WARNING: strip exists with insufficient data


The number of points from vector map is 704828
The number of points outside of 2D/3D region 0
The number of points being used is 704828
Processing all selected output files
will require 4874896 bytes of disk space for temp files
Percent complete:
  76%
WARNING: taking too long to find points for interpolation--please change
............ the warnnings .........
  78%
WARNING: taking too long to find points for interpolation--please change
WARNING: taking too long to find points for interpolation--please change
  80%
................ the warnnings ..............
  94%
Killed
Note: Above warnings may be ignored.
Patching fill data into NULL areas...
WARNING: Raster map <r_fillnulls_10653_filled> not found
ERROR: One or more input raster maps not found
Removing raster <r_fillnulls_10653>
Removing raster <r_fillnulls_10653.buf>
Removing raster <r_fillnulls_10653_filled>
WARNING: Raster map <r_fillnulls_10653_filled> not found
WARNING: <r_fillnulls_10653_filled> nothing removed
Removing vector <vecttmp_fillnulls_10653>
Filled raster map is: abc
ERROR: Raster map <abc> not found in current mapset
Done.
------------------------------------------------------------------------------------------------------
It seems that the r.fillnulls does not work, and when I enter the location
al and mapset PERMANENT , there is just the rast map aa, not abc. I woder
why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100302/a63c0469/attachment-0001.html


More information about the grass-user mailing list