s.in.ascii

Markus Neteler neteler at geog.uni-hannover.de
Mon Oct 4 14:01:50 EDT 1999


Hi Henk,

you need a preceding "#" character for the z-value.
To overcome the problem easily do following:

* In GRASS 4.2.1 use

   s.in.ascii.dem instead of s.in.ascii

* In GRASS 5 use 

   s.in.ascii -e

This will add the required characters.

Cheers

  Markus Neteler

> 
> Hi
> 
> I am struggling to get s.in.ascii to produce a site file that I can use
> for interpolation. I can produce an ascii file containing x, y and a z
> column. The z column contains a numerical value that will be used for
> interpolation. So far, nothing has worked. I have tried prefixing the z
> with a % and without. This puts 0's into the site list. interpolation
> gives errors pertaining to invalid formats and no data found. I will be
> good and tabulate all the attempts and problems, unless someone can
> point me at information that will help me start from scratch again
> 
> Thanks
> 
> Henk
> 
> 
> -- 
> ------------------------------------------------
> Henk Coetzee
> Geophysics Unit
> Council for Geoscience
> Private Bag X112, Pretoria, 0001, South Africa
> Tel: +27-12-841-1192   Fax: +27-12-841-1424
> ------------------------------------------------
> 



More information about the grass-user mailing list