dim_avg_n problem

From: cheryl Ma <xiaoyancloud_at_nyahnyahspammersnyahnyah>
Date: Tue Oct 22 2013 - 07:31:24 MDT

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
Received on Tue Oct 22 07:31:44 2013

This archive was generated by hypermail 2.1.8 : Tue Oct 22 2013 - 10:35:27 MDT