s.in.ascii

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
------------------------------------------------

Markus Neteler wrote:

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.

Thanks

This is what I have tried. I get a file with rows that look like:

23:19:51E|17:44:16.98S|%579

But s.surf.idw tells me "s.surf.idw: no data points found"

Cheers

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
------------------------------------------------