Dear all users<br>this is my gs file; the ctl file is given below. i want to file u-wind anomaly fro the grid 0-90N and 0-357.5<br>at 1000 t0 10 hPa level for a single day(time= 1feb2008)<br>The grd file has shows the output at a single level<br>
The problem is output result didnot vary at different levels <br><br>'reinit'<br>'sdfopen /media/resmi-1/windows/ncep/uwnd/200h_uwnd/<a href="http://uwnd.2000_10.nc">uwnd.2000_10.nc</a>'<br>'set lat 0 90'<br>
'set lon 0 357.5'<br>*'set lev 850'<br>'set time 1feb2008'<br><br>'set gxout fwrite'<br>'set fwrite stj850_26j.grd'<br>n=1<br>while(n<=17)<br><br>'set z 'n <br>'define tt=uwnd(time=1feb2000)'<br>
'define tt1=uwnd(time=1feb2001)'<br>'define tt2=uwnd(time=1feb2002)'<br>'define tt3=uwnd(time=1feb2003)'<br>'define tt4=uwnd(time=1feb2004)'<br>'define tt5=uwnd(time=1feb2005)'<br>'define tt6=uwnd(time=1feb2006)'<br>
'define tt7=uwnd(time=1feb2007)'<br>'define tt8=uwnd(time=1feb2008)'<br>'define tt9=uwnd(time=1feb2009)'<br>'define tt10=uwnd(time=1feb2010)'<br><br>'define daymean=(tt+tt1+tt2+tt3+tt4+tt5+tt6+tt7+tt8+tt9+tt10)/11'<br>
*'d daymean'<br>'define dayanom=tt9-daymean'<br>*'d dayanom'<br><br>n=n+1<br>endwhile<br>'disable fwrite'<br><br>Control file<br><br> DSET /media/resmi-1/windows/ncep/uwnd/200h_uwnd/stj850_26j.grd<br>
undef -999.99<br> xdef 144 linear 0 2.5<br> ydef 37 linear 0 2.5<br> zdef 17 levels 1000 925 850 700 600 500 400 300 200 250 150 100 70 50 30 20 10<br> tdef 1 linear 01feb2008 1dy<br> TITLE stj850_26j.grd 144x37 grd<br>
vars 1<br> uwnd 0 -999 uwnd temperature<br> endvars<br><br>