[gradsusr] (no subject)
Gargi Akhoury
gargiakhoury at bitmesra.ac.in
Tue Sep 8 06:38:27 EDT 2015
Hello,
I want to do the average of time i.e months from January to December.
The script is below but it is not working, kindly help me.....!!!
'open temp.ctl'
'set x 1 144'
'set y 1 73'
'set t 1 780'
'define tmp=ave(temp-273.15,t=1,t=780,12)' , %increment with 12 values and
taking their average
'd tmp'
'define tmmp=amax(tmp,lon=0,lon=360,lat=-90,lat=90)'
'd tmmp'
val=subwrd(result,4)
hj=write(temp_eq.csv,val)
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150908/19341abf/attachment.html
More information about the gradsusr
mailing list