[GRASS5] [bug #2277] (grass) sites data: ERROR: ebuf 158135, 000000 nbuf 175101,000000

Moritz Lennert mlennert at club.worldonline.be
Wed Jan 7 05:10:11 EST 2004


Glynn Clements said:
>
> guest user via RT wrote:
>
>> Tyring to access (d.sites, s.out.ascii) a sites file with the
>> following format:
>>
>> name|specprod8601
>> labels|east north Rcode varint varfloat comcod
>> 158135,000000|175101,000000|#1 %116,198 %7,000 %23094
>> 105265,000000|196713,000000|#2 %97,6064 %1,000 %44021
>> 173626,000000|175036,000000|#3 %84,3267 %1,000 %24062
>> 154166,000000|179702,000000|#4 %83,4805 %4,000 %23088
>> 148799,000000|172180,000000|#5 %82,8372 %1,000 %21004
>> 155340,000000|177049,000000|#6 %75,8749 %17,000 %23047
>> 154556,000000|170726,000000|#7 %74,3438 %2,000 %21018
>> etc...531 sites
>>
>> I get the follwing error:
>>
>> ERROR: ebuf 158135,000000 nbuf 175101,000000
>
>> It must be '.' instead of ',' (we speak US here):
>>
>> Eg
>> 158135.000000 175101.000000 ...
>>
>> Change it with a text editor.
>
> Out of curiousity, how was that sites file generated? I'm fairly sure
> that it wasn't with any standard GRASS module, but it might be some
> obscure contrib module, or an add-on for which we might get queries
> (in the same way that these lists often get queries regarding
> GRASSlinks etc).

No, it was certainly generated with a home made script. I often use R to
create data and colored circles or triangles that I then map out with
ps.map. For that I copy files directly into the sites directory (I guess I
should better use s.in.ascii...)

I don't know why I didn't notice this problem before, however...maybe I
never used this specific site file.

Moritz




More information about the grass-dev mailing list