Dear Users,<br><br>It is hard for me to make a right script file.<br>Some of the users has helped me, thanks, but i still don&#39;t understand.<br><br>My data has two wind data; <br>ugrd10m: u wind at 10m (monthly)<br>vgrd10m: v wind at 10m (monthly)<br>
<br>I want to make a script file that calculates the magnitude of wind (mag(u,v)) of each month at a point and save it to ASCII.<br>Here is the script file I made, but it doesn&#39;t work as expected.<br>Any of you guys can correct errors in my script file?<br>
<br>========================<br>*Script Save as ASCII<br><br>&#39;set grads off&#39;<br>&#39;set lon -123.93&#39;<br>&#39;set lat 45.67&#39;<br>&#39;set t 1 12&#39;<br>&#39;define wind=ave(mag(ugrd10m,vgrd10m),t+0,t=360,12)&#39;<br>
&#39;modify wind seasonal&#39;<br>&#39;set gxout fwrite&#39;<br>&#39;set fwrite e:/research/climatedata/grads/data/wind&#39;<br>&#39;say &#39;ok&#39;&#39;<br>==========================<br>Thanks,<br><br>Wansang<br>