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'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'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>'set grads off'<br>'set lon -123.93'<br>'set lat 45.67'<br>'set t 1 12'<br>'define wind=ave(mag(ugrd10m,vgrd10m),t+0,t=360,12)'<br>
'modify wind seasonal'<br>'set gxout fwrite'<br>'set fwrite e:/research/climatedata/grads/data/wind'<br>'say 'ok''<br>==========================<br>Thanks,<br><br>Wansang<br>