[gradsusr] Creating Average

Andrew Friedman andfried at berkeley.edu
Mon Mar 18 17:20:17 EDT 2013


Hi Leonardo,

Your longitude coordinate may be defined from 0 to 360 instead of -180 to 180.
Can you try setting lon from (270 300) instead of (-90 -60)?

Andrew

On Mar 18, 2013, at 1:18 PM, leonardo <leoclarke at yahoo.com> wrote:

> Dear GRADSUser
> 
> I am trying to create the climate for each grid point from the CMAP dataset. I user the following:
> 
> set t 1 12
> clim = ave(precip,t+0,t=360,12)
> modify clim seasonal
> 
> When I execute the above and view clim for the entire world it is OK.
> 
> The problem I have: 
> If I try to set the lon say (-90 -60) grads is telling me that the grid id undefined. I will get 
> a plot if I display the precip data though. This indicate that the average function is not creating
> an average for each grid point.
> 
> Can someone please assist.
> 
> Regards
> LC
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

Andrew Friedman
Graduate Student, UC Berkeley Geography
andfried at berkeley.edu





More information about the gradsusr mailing list