<div dir="ltr">Hi all,<div>i would like to connect the 'eye' of a typhoon in grads. I extracted the lat lon coordinates. I am using this script (below)..but i am encountering an "invalid line coordinate" 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('urbeye4.txt')</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> 'q w2xy 'lon1' 'lat1</div><div> xpos1 = subwrd(result,3)</div><div> ypos1 = subwrd(result,6)</div><div>res=read('urbeye4.txt')</div>
<div>'draw wxsym 41 'xpos1' 'ypos1' 0.3 1'</div><div>if (i>0)</div><div>'set line 1 1 3' </div><div>'draw line 'xpos1' 'ypos1' 'xpos2' '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>