[GRASSLIST:1529] Re: Site display problem

Paul Kelly paul-grass at stjohnspoint.co.uk
Tue Oct 21 10:50:01 EDT 2003


Hello Kevin

On Tue, 21 Oct 2003, Kevin Slover wrote:

> I am not sure if I am missing something obvious here or not.. but I am
> having a slight problem displaying a sites file, and cannot seem to
> figure it out.. the problem is that only one site is showing up, even
> though there are 12 in the file... the site lists is as follows:
>
> -- name|buoys.sites
> desc|s.in.ascii sites=buoys.sites input=buoy_grass_21_12.txt fs=space
> 93:30W|22:36N|#1 %100 %11 %41901
> 89:42W|25:48N|#2 %60 %14 %1 %42001

The first site has only 3 floating point attributes, whereas all the
others have 4. Probably d.sites assumes the format of the first site is
the same for the whole file, and then stops when it finds one that doesn't
match the format or continues on through the file looking for others that
match the format of the first one, but in this case there are none.

Paul




More information about the grass-user mailing list