[GRASS-user] r.fillnulls (GRASS BOOK 3rd edition)
Luís Ferreira
lferreira75.2 at gmail.com
Thu Sep 18 21:02:55 EDT 2008
Qui, 2008-09-18 às 15:40 -0700, Hamish escreveu:
> > GRASS 6.4.svn (nc_spm_08):~ > r.fillnulls \
> > elev_srtm_30m_null out=elev_srtm_30mfilled
> >
> > it gives me the errors
> >
> > /usr/lib/grass-6.4.svn/scripts/r.fillnulls: eval: line 82:
> > unexpected EOF while looking for matching `''
>
>
> goes "g.gisenv --help" or just "g.gisenv" work from the command prompt?
>
> it sounds like GRASS is not fully installed correctly.
> Hamish
I had compiled GRASS 6.4 from https://svn.osgeo.org/grass/grass/branches/develbranch_6 grass6_devel.
Kernel : Linux 2.6.26-1-vserver-amd64 (x86_64)
Compiled : #1 SMP Thu Aug 28 13:09:10 UTC 2008
C Library : GNU C Library version 2.7 (stable)
Distribution : Debian GNU/Linux lenny/sid
Code lines in /usr/lib/grass-6.4.svn/scripts/r.fillnulls
82 eval `g.gisenv`
83 : ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
84 LOCATION=$GISDBASE/$LOCATION_NAME/$MAPSET
Using g.gisenv and g.gisenv --help:
GRASS 6.4.svn (nc_spm_08):~ > g.gisenv
GISDBASE=/home/lf/GRASSDATA
LOCATION_NAME=nc_spm_08
MAPSET=user1
"GRASS_HTML_BROWSER=/usr/lib/iceweasel/iceweasel"
GRASS_DB_ENCODING=iso8859-1
GRASS_GUI=wxpython
GRASS 6.4.svn (nc_spm_08):~ > g.gisenv --help
Descrição:
Sai e modifica as atuais variáveis de usuário do GRASS.
Palavras chave:
general
Uso:
g.gisenv [get=VARIABLE] [set=VARIABLE=value] [store=string]
[--verbose] [--quiet]
Flags:
--v Saída do módulo verbosa
--q Saída do módulo silenciosa
Parâmetros:
get Variável do GRASS para capturar
set Variável do GRASS para ajustar
store Onde as variáveis do GRASS são guardadas
opções: gisrc,mapset
padrão: gisrc
Using gis.m gives:
/usr/lib/grass-6.4.svn/scripts/r.fillnulls: eval: line
82: unexpected EOF while looking for matching `''
/usr/lib/grass-6.4.svn/scripts/r.fillnulls: eval: line
83: syntax error: unexpected end of file
Locating and isolating NULL areas...
Reading input raster map <r_fillnulls_12974 at user1>...
Finding buffer zones...
Writing output raster map <r_fillnulls_12974.buf>...
Creating interpolation points...
Extracting points...
Building topology for vector map
<vecttmp_fillnulls_12974>...
egistering primitives:
Building areas:
Número de nós : 2187
Número de primitivas: 2187
Número de pontos : 2187
Número de linhas : 0
Número de fronteiras: 0
Número de centróides : 0
Número de áreas : 0
Número de ilhas : 0
Topology was built
0 areas built
0 isles built
Anexando ilhas:
Anexando centróides:
r.to.vect completo.
2187 primitives registered
2187 vertices registered
Interpolating 2187 points
Note: The following warnings may be ignored.
Removing raster <MASK>
Using segmentation for interpolation...
Porcentagem completada:
Carregando dados da tabela de atributos ...
Lendo linhas do mapa vetorial ...
Lendo nós do mapa vetorial
Processing all selected output files
Porcentagem completada:
will require 1818544 bytes of disk space for temp files
The number of points from vector map is 2187
The number of points outside of 2D/3D region 0
The number of points being used is 2187
há uma faixa com dados insuficientes
demorando demais para encontrar pontos para
interpolação--favor alterar a região para a área onde
estão os pontos. Continuando cálculos... (from
Portuguese: waiting too long to find points for
interpolation--please change the region to the area
where the points are)
...(after a while)
history initiated
v.surf.rst completo.
Note: Above warnings may be ignored.
Patching fill data into NULL areas...
Creating support files for raster map
<elev_srtm30m_filled>
Removing raster <r_fillnulls_12974>
Removing raster <r_fillnulls_12974.buf>
Removing raster <r_fillnulls_12974_filled>
Removing vector <vecttmp_fillnulls_12974>
Filled raster map is: elev_srtm30m_filled
Done.
More information about the grass-user
mailing list