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.
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@soton.ac.uk
University of Southampton, Phone: +44 (0)1703 592205
Highfield, WWW: http://www.soton.ac.uk/~cdl195
Southampton,
SO17 1BJ,
England, UK
"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@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
------------------------------------------------
At 02:37 PM 10/4/99 +0200, you wrote:
"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"
use the management programs to edit the sites file and replace the
qualifier on each height i.e. make every "#" a "%" instead ( or put a "%"
in front of each height).
>
Henk
Andrew M McDermott wrote:
At 02:37 PM 10/4/99 +0200, you wrote:
>"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.
Hi
I have done this and imported the file using grass4.2.1, which seems to
interpolate OK. Is this a problem in 5.0beta3?
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
------------------------------------------------