s.in.ascii

Henk Coetzee henkc at geoscience.org.za
Mon Oct 4 08:37:56 EDT 1999


"C.D.Lloyd" wrote:
> 
> Hello Henk,
> 
> It sounds like you're missing a character before the z variable. I think
> you need to add an # to all your z variables in the file you are reading
> in with s.in.ascii. Therefore:
> 
> X   Y   Z
> 123 342 #23
> 
> All should then be ok.
> 

This is what I thought as well. The resulting sites file then looks like

22:30:02.484E|27:59:59.136S|0|

s.surf.idw then says "I'm finding records that do not have floating
point attributes"

and stops, with the message:
"s.surf.idw: no data points found"

Henk



> Best regards,
> 
> Chris
> 
> >
> > 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
> > ------------------------------------------------
> >
> 
> --
> C.D.Lloyd
> Department of Geography,           Email: cdl195 at soton.ac.uk
> University of Southampton,         Phone: +44 (0)1703 592205
> Highfield,                         WWW:   http://www.soton.ac.uk/~cdl195
> Southampton,
> SO17 1BJ,
> England, UK

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