3hourly data to daily data
John Guhin
johnguhin at GMAIL.COM
Wed Feb 22 16:58:16 EST 2006
Hi,
I was wondering if someone can find the mistake. I am trying to
convert a 3 hourly data to daily data.
The original data is 3D. any help will be appreciated.
----------------------------------------------------------------------
* Program to write 3 hourly data to daily data
'reinit'
'c'
'set gxout fwrite'
'set fwrite u_daily.dat'
'open u.ctl'
'set lon 40 180'
'set lat -10 10'
'set lev 850'
t1=1
while(t1<977)
'set t 't1
'd ave(u,t=t1,t=t1+7)'
t1=t1+8
endwhile
--------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20060222/8a351a40/attachment.html
More information about the gradsusr
mailing list