# Re: dim_avg_n problem

From: cheryl Ma <xiaoyancloud_at_nyahnyahspammersnyahnyah>
Date: Tue Oct 22 2013 - 08:27:20 MDT

Thanks, Dennis.

The problem is still there. Lon in the contour plotting changed 180 degree
compare to the plotting for each time.

On Tue, Oct 22, 2013 at 10:08 AM, Dennis Shea <shea@ucar.edu> wrote:

> You should use
>
> ff = dim_ang_n_Wrap(f, 0)
>
> --
>
> http://www.ncl.ucar.edu/**Document/Manuals/language_man.**pdf<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<http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
>>
>>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Oct 22 08:27:37 2013

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