[GRASSLIST:1531] Re: Site display problem

Kevin Slover Kevin.Slover at noaa.gov
Tue Oct 21 10:58:40 EDT 2003


Thanks Paul..
	Something I hadn't thought about really... and voila, that was the 
problem... hmmm... interesting, very interesting... so this means that 
the format of each line MUST be the same, or it will not plot... raising 
a slight problem, but I will figure something out...

Thanks for the insight, something I have never dealt with before, and 
some very valuable insight... guess I must go and create my own site 
files as a work around...

Paul Kelly wrote:
> 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

-- 
LTJG Kevin Slover, NOAA
GIS Specialist/Oceanographer
NOAA/National Hurricane Center/Storm Surge Unit
11691 SW 17th Street
Miami FL  33165

W (305) 229-4456




More information about the grass-user mailing list