Re: Ascending order of latitude when applying function such as "uv2dv_cfd" ?

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri May 10 2013 - 11:23:59 MDT

The documentation has been changed. Thank You.

On 5/7/13 9:42 AM, gmail wrote:
> Hi, all
>
> Recently I applied a function of "uv2dv_cfd" to calculate the divergence using 850hpa wind of Ncep analysis.
>
> As to the introduction of the function (http://www.ncl.ucar.edu/Document/Functions/Built-in/uv2dv_cfd.shtml),
>
> the latitude dimension of u and v should be in ascending order. When I print the latitude I found that it starts from 90 to -90.
>
> however, the function work well and did not report any error when I apply it to the variable directly without reordering .
>
> ( the codes is : dv = uv2dv_cfd (u, v,u&lat,u&lon, 0) )
>
>
> Besides, I also search a similar case as below http://www.ncl.ucar.edu/Support/talk_archives/2009/2408.html
>
> I revised my codes according to the above case,
>
> ( the codes is
>
> ux = u(:,::-1,:) ; The latitude dimension must be in ascending order when applying the function of us2dv_cfd
> vx = v(:,::-1,:)
> dv = uv2dv_cfd (ux,vx, ux&lat,ux&lon, 0) )
>
> and this time I got the same result .
>
> I am a little puzzled. Anyone can show me a hand? Thanks!
>
>
>
>
> lin
>
> _______________________________________________
> 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-talk
Received on Fri May 10 11:24:05 2013

This archive was generated by hypermail 2.1.8 : Wed May 15 2013 - 10:19:28 MDT