# [ncl-talk] Computing winds in an annulus

Dennis Shea shea at ucar.edu
Mon Jan 29 20:31:15 MST 2018

```Average:
(a) 0-6
(b) 0-4,
(c) subtract: (a)-(b)

On Mon, Jan 29, 2018 at 11:23 AM, Prashanth Bhalachandran via ncl-talk <
ncl-talk at ucar.edu> wrote:

> Dear NCL’ers,
>
> I have a question regarding the computation of winds in an annulus.
>
>
>
> That is, say I have a center lat and lon : cenlat, cenlon
>
> limit    = 2 ; In degrees
>
>   b1 = cenlat-limit
>
>   b2 = cenlat+limit
>
>   b3 = cenlon-limit
>
>   b4 = cenlon+limit
>
>
>
> This is what I use if want to average the winds in a box that *is 2
> degrees on either side of the center* (4 degree x 4degree n total).
>
> uav = dim_avg_n(dim_avg_n(uu(tcount,:,{b1:b2},{b3:b4}),2),1)
>
>
>
> However, what I am now interested in is averaging around an *annulus*
> (say between 4 degrees to 6 degrees from the center of the hurricane). What
> is the best way to do that?
>
>
>
> Thank you,
>
> Prashanth
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180129/371cd4d8/attachment.html>
```