[gradsusr] (no subject)

Kanhu Charan Pattnayak kcpattnayak at gmail.com
Tue Sep 8 07:31:58 EDT 2015


'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'
'set x 1' % include this
'set y 1' % include this
'define tmmp=amax(tmp,lon=0,lon=360,lat=-90,lat=90)'
'd tmmp'

val=subwrd(result,4)
hj=write(temp_eq.csv,val)




On Tue, Sep 8, 2015 at 11:38 AM, Gargi Akhoury <gargiakhoury at bitmesra.ac.in>
wrote:

> 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
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
कान्हू  चरण पट्टनायक
Dr. Kanhu Charan Pattnayak
Post-Doctoral Research Fellow
Garstang 10.14
School of Geography
University of Leeds
Leeds, LS2 9JT, UK
Tel: +44 (0) 113 34 36571
http://www.geog.leeds.ac.uk/people/k.pattnayak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150908/e5a77013/attachment.html 


More information about the gradsusr mailing list