<div dir="ltr">Average: <br>(a) 0-6 <br>(b) 0-4, <br>(c) subtract: (a)-(b)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 29, 2018 at 11:23 AM, Prashanth Bhalachandran via ncl-talk <span dir="ltr"><<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="#954F72" lang="EN-US"><div class="m_2937415845448223556WordSection1"><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Bell MT",serif">Dear NCL’ers,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Bell MT",serif">I have a question regarding the computation of winds in an annulus. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Bell MT",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Bell MT",serif">That is, say I have a center lat and lon : cenlat, cenlon <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Bell MT",serif">limit = 2 ; In degrees <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Bell MT",serif"> b1 = cenlat-limit<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Bell MT",serif"> b2 = cenlat+limit<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Bell MT",serif"> b3 = cenlon-limit<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Bell MT",serif"> b4 = cenlon+limit<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Bell MT",serif">This is what I use if want to average the winds in a box that <b>is 2 degrees on either side of the center</b> (4 degree x 4degree n total). <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">uav = dim_avg_n(dim_avg_n(uu(tcount,<wbr>:,{b1:b2},{b3:b4}),2),1)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">However, what I am now interested in is averaging around an <b>annulus</b> (say between 4 degrees to 6 degrees from the center of the hurricane). What is the best way to do that? <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">Thank you, <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Cambria Math",serif">Prashanth <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Cambria Math",serif"><u></u> <u></u></span></p></div></div><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>