[gradsusr] Diurnal Climatology

Jennifer Adams jma at cola.iges.org
Fri Sep 19 15:56:33 EDT 2014


I think you need to change the third argument in your ave() declaration from “t+227808” to “t=227808”. 
—Jennifer


On Sep 19, 2014, at 3:13 AM, mehwish ramzan <mehwish.ramzan at gmail.com> wrote:

> 
> Dear GrADS Users,
> 
> I am trying to calculate the Diurnal Climatology for 26 years "hourly data" as follows;
> 
> open r_pgb_hourly.ctl
> 
> set t 1 24
> 
> set x 1
> 
> set y 1
> 
> define p1= ave(pratesfc*60*60*24, t-0, t+227808, 24)

> 
> Averaging.  dim = 3, start = 1, end = 227808
> 
> but after averaging it suddenly gives Segmentation fault error
> 
> 
>  Also if i want to calculate just the JJA diurnal Climatology for 26 years then what changes i need to make in above script?
> 
> 
> Please guide me.
> 
> Thank You
> 
> With Best Regards,
> 
> Mehwish
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140919/e8043212/attachment.html 


More information about the gradsusr mailing list