[GRASSLIST:4706] Re: s.in.ascii segmentation fault

Hamish hamish_nospam at yahoo.com
Tue Nov 2 21:06:12 EST 2004


> When I try to import an ascii file with s.in.ascii
> (s.in.ascii input=/home/Praktikant/Mosberg.txt sites=DEMMosberg2 d=2
> fs=space)
> 
> I only get the following error-Message:
> Segmentation fault <core dumped>
> 
> (s.in.ascii with d=3 works but I want the third parameter as an
> attribute instead of a third dimension)
> 
> The Input-file looks like:
> 
> 355457.3 5479115.6 371.0
> 355459.7 5479208.2 370.0
> 355462.2 5479300.8 370.0
> 355464.6 5479393.5 379.0
> 355467.1 5479486.1 375.0
> 355469.5 5479578.7 360.0
> 355472.0 5479671.4 350.0
> 
> I am running Grass 5.3.0 (15 May 2004) on a Windows machine with
> Cygwin.
> 
> Any Help is appreciated.


works as expected for me in Linux.


things to try:
a) update to the lastest CVS.
b) convert the file to UNIX format using dos2unix or TextPad.
c) try 'cat Mosberg.txt | s.in.ascii sites=DEMMosberg2'


let us know how you get on.


Hamish




More information about the grass-user mailing list