You should use
ff = dim_ang_n_Wrap(f, 0)
-- Please read the Mini-Language Manual (Section 5.6.1) http://www.ncl.ucar.edu/Document/Manuals/language_man.pdf On 10/22/13 7:31 AM, cheryl Ma wrote: > Hi everyone, > > I made contour plotting to an array f (time,lat,lon) on each time and > checked lat and lon using printVarSummary(f), and the f look good as > > Number of Dimensions: 3 > Dimensions and sizes: [31] x [lat | 180] x [lon | 360] > Coordinates: > lat: [-89.5..89.5] > lon: [-179.5..179.5] > > But when I calculate the average by using ff=dim_avg_n(f), > printVarSummary(ff) does not show the Coordinates, i.e. > > Number of Dimensions: 2 > Dimensions and sizes: [180] x [360] > Coordinates: > > Also I made a contour plot of ff and saw that somehow the lon changed by > 180 degree. dim_avg_n suppose keep the original lat and lon, right? > > what caused the change of lon? thanks, > > > > _______________________________________________ > ncl-talk mailing list > List instructions, subscriber options, unsubscribe: > http://mailman.ucar.edu/mailman/listinfo/ncl-talk > _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue Oct 22 08:08:01 2013
This archive was generated by hypermail 2.1.8 : Tue Oct 22 2013 - 10:35:27 MDT