<div>Hi all,</div>
<div>I am trying to write u and v wind component from NARR data into a file. The text file that is written is having no value but &quot;interpolation&quot; . Could anyone help me how to solve this issue.</div>
<div>By the way here is the grads script that i used</div>
<div>____________________</div>
<div><br>function main()<br>&#39;open narr-a_221_20010101_0000_000.ctl&#39;<br> cntt=1<br> say &quot;cntt =&quot;cntt<br> cntx=290<br> while(cntx&lt;=350) <br> cnty=60<br> while(cnty&lt;=100)<br> count=1<br> count1=count+7<br>
 while(count&lt;=count1)<br>&#39;set t &#39;count<br>&#39;set x &#39;cntx<br>&#39;set y &#39;cnty<br>&#39;set z 1&#39;<br>&#39;d ugrd30m.&#39;cntt<br> dum1=sublin(result,1)<br> x13=subwrd(dum1,4)<br>&#39;d vgrd30m.&#39;cntt<br>
 dum1=sublin(result,1)<br> x23=subwrd(dum1,4)<br> variables2=x13&#39;   &#39;x23  <br> write(temp_30m.dat,variables2)<br> count=count+1<br> endwhile<br> cnty=cnty+1<br> endwhile<br> cntx=cntx+1<br> endwhile<br>---------------------------------------</div>

<div> </div>
<div>Thanks,</div>
<div>Krishna</div>