[GRASSLIST:3825] Re: s.vol.rst

Markus Neteler neteler at itc.it
Tue Jun 4 12:29:29 EDT 2002


On Tue, Jun 04, 2002 at 11:14:02AM -0500, felipe wrote:
> Hello list,
> 
> I have the next problem with s.vol.rst:
> 
> When I type,
> 
> GRASS:> s.vol.rst input=esta3d cellinp=dem cellout=prec1997 zmult=1
> 
> I have this,
> 
> Requested attribute field no. 1 not found
> ERROR: input failed!
> 
> my site file is,
> 
> name|esta3d
> desc|s.in.ascii sites=esta3d input=esta3d d=3 fs=space
> 985090|1029900|2591|#1 @531,2
> 998200|1036980|2597|#2 @584,0
> 993954|1044880|2728|#3 @393,3
> 
> What can I do?

The 3D sites file needs this structure:

name|esta3d
desc|s.in.ascii sites=esta3d input=esta3d d=3 fs=space
985090|1029900|2591|#1 %531.2
998200|1036980|2597|#2 %584.0
993954|1044880|2728|#3 %393.3

Due to the ',' (comma) in the original file the s.in.ascii intepreted
the numbers as strings. Note that a '.' point is required when importing
with s.in.ascii.

hope this helps,

 Markus



More information about the grass-user mailing list