<div dir="ltr">Hi all,<div>i would like to connect the &#39;eye&#39; of a typhoon in grads. I extracted the lat lon coordinates. I am using this script (below)..but i am encountering an &quot;invalid line coordinate&quot; error.</div>

<div>Can anyone help me?</div><div>I attached the lat lon coordinates.</div><div><br></div><div><div>i=0</div><div>res=read(&#39;urbeye4.txt&#39;)</div><div>while(sublin(res,1)!=2)</div><div>  line = sublin(res,2)</div><div>

  lat1=subwrd(res,3)</div><div>  lon1=subwrd(res,4)</div><div> &#39;q w2xy &#39;lon1&#39; &#39;lat1</div><div>  xpos1 = subwrd(result,3)</div><div>  ypos1 = subwrd(result,6)</div><div>res=read(&#39;urbeye4.txt&#39;)</div>

<div>&#39;draw wxsym 41 &#39;xpos1&#39; &#39;ypos1&#39; 0.3 1&#39;</div><div>if (i&gt;0)</div><div>&#39;set line 1 1 3&#39; </div><div>&#39;draw line &#39;xpos1&#39; &#39;ypos1&#39; &#39;xpos2&#39; &#39;ypos2</div><div>endif</div>

<div>  xpos2=xpos1</div><div>  ypos2=ypos1</div><div> i=i+1</div><div>endwhile</div></div><div><br></div><div><br></div><div>thanks,</div><div>bibokid</div><div><br></div></div>