Hi,<br>
I was wondering if someone can
find the mistake. I am trying to convert a 3 hourly data to daily data.<br>
The original data is 3D. any help will be appreciated.<br>
----------------------------------------------------------------------<br>
* Program to write 3 hourly data to daily data<br>
'reinit'<br>
'c'<br>
'set gxout fwrite'<br>
'set fwrite u_daily.dat'<br>
'open u.ctl'<br>
'set lon 40 180'<br>
'set lat -10 10'<br>
'set lev 850'<br>
t1=1<br>
while(t1<977)<br>
'set t 't1<br>
'd ave(u,t=t1,t=t1+7)'<br>
t1=t1+8<br>
endwhile<br>
--------------------------------------------------------------------------------------------------<br>