<div dir="ltr">Hi GRADS peeps ... Anyone know a work around for this?<div>in my script I have the lines</div><div><br></div><div><div>&#39;query ll2xy &#39;lon1&#39; &#39;lat1 </div><div>locs=sublin(result,1)</div><div>rloc=subwrd(locs,1)</div></div><div><br></div><div>If I have a GRADS window open and call my script it returns the correct xy location corresponding to the lon and lat. </div><div><br></div><div>If I call the script in batch mode it simply returns the lon and lat that I entered.</div><div><br></div><div>Any ideas anyone?</div><div><br></div><div>Thanks!</div></div>