<html><head></head><body><font size="3">then define a circle mask that is 1 inside the circle, undef outside.</font><div><font size="3">d mean(mean(mask*mag(u,v),x=90,x=110),y=90,y=110)</font></div><div><font size="3">it will work (in this case radius must be less than 5 cells)</font></div><div><font size="3"><br></font></div><div><font size="3">Davide<br></font><br><br><div><strong>
From:
</strong>
 
Sim D. Aberson <sim.aberson@noaa.gov>
<br>
<strong>
To:
</strong>
 
<gradsusr@gradsusr.org>
<br>
<strong>
Sent:
 
</strong>
7/1/2020 2:49 PM
<br>
<strong>
Subject:
</strong>
 
Re: [gradsusr] Azimuthally average
<br><br><blockquote class="mori" style="margin:0 0 0 .8ex;border-left:1px solid #CCC;padding-left:1ex;">This is average over a square.  In looking at tropical cyclones, for<br>example, we want to see the azimuthal average with distance from the<br>center.  See Hamsu3 and Hamsu4 at<br>http://rammb.cira.colostate.edu/quarterly_reports/3qtr99/tropica3.htm.<br>It appears that these were made with GrADS.<br><br>Sim<br><br>On 7/1/20 4:58 AM, Davide Sacchetti wrote:<br>> if you can approximate azimuthal average with a "mean of grid points<br>> values near to your cell" - that is average on a square, not a round<br>> -suppose your grid coordinate center was 100, 100<br>> set x 100<br>> set y 100<br>> set lev 900 300<br>> d mean(mean(mag(u,v),x=99,x=101),y=99,y=101)<br>> <br>> hoping it could help<br>> bye<br>> Davide<br>> <br>> On Wed, 2020-07-01 at 11:32 +0900, lpasmanoranjan wrote:<br>>> Hello Davide,<br>>> Thank you for your answer. I am so sorry for not explaining my<br>>> question properly.<br>>> I am looking for the wind speed a location at each level but<br>>> azimuthally. I am emphasizing azimuthally because wind blows at<br>>> various speed from different directions around the location. So I<br>>> need show the azimuthally averaged wind speed.<br>>><br>>> On Wed, Jul 1, 2020 at 0:09 Davide Sacchetti <<br>>> davide.sacchetti@arpal.liguria.it<br>> <mailto:davide.sacchetti@arpal.liguria.it>> wrote:<br>>> > Sorry but I do not understand your question. Are you looking for<br>>> > wind speed average between 900 and 300 hPa at a fixed location?<br>>> > If this was the case:<br>>> > 'set lev 900'<br>>> > 'd mean(mag(u,v), lev=900, lev=300)'<br>>> ><br>>> > bye bye<br>>> > Davide<br>>> ><br>>> ><br>>> > From: lpasmanoranjan <lpasmanoranjan@gmail.com<br>> <mailto:lpasmanoranjan@gmail.com>><br>>> > To: GrADS Users Forum <gradsusr@gradsusr.org<br>> <mailto:gradsusr@gradsusr.org>><br>>> > Sent: 6/29/2020 11:42 AM<br>>> > Subject: [gradsusr] Azimuthally average<br>>> ><br>>> > > Dear Users,<br>>> > > I would like to plot a vertical profile of azimuthally average of<br>>> > > a variable at a location. e.g.<br>>> > > I have a grid data at 3 km resolution.<br>>> > > ‘set lat 21.5’<br>>> > > ‘set lon 82.5’<br>>> > > ‘set lev 900 300’<br>>> > > ‘d azimuth_average(mag(u,v)’<br>>> > ><br>>> > > Any suggestions or scripts, how to proceed in GrADS?<br>>> > ><br>>> > > Thank you.<br>>> > > _______________________________________________<br>>> > > gradsusr mailing list<br>>> > > gradsusr@gradsusr.org <mailto:gradsusr@gradsusr.org><br>>> > > http://gradsusr.org/mailman/listinfo/gradsusr<br>> <br>> <br>> <br>> Attenzione ARPAL ha cambiato indirizzi digitali, i nuovi indirizzi di<br>> e-mail sono composti dall'attuale nome.cognome seguito da<br>> @arpal.liguria.it, quindi *nome.cognome@arpal.liguria.it*<br>> <br>> _______________________________________________<br>> gradsusr mailing list<br>> gradsusr@gradsusr.org<br>> http://gradsusr.org/mailman/listinfo/gradsusr<br>> <br><br><br>-- <br>Sim Aberson (he/him/his)<br>NOAA/AOML/Hurricane Research Division   Miami, FL<br>https://www.aoml.noaa.gov/hrd/people/simdaberson/<br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div></div><BR />
<BR />
<font face="Arial" color="#ff0000"><span style="font-size: 12px;">Attenzione ARPAL ha cambiato indirizzi digitali, i nuovi indirizzi di e-mail sono composti dall'attuale nome.cognome seguito da @arpal.liguria.it, quindi </span><b style>nome.cognome@arpal.liguria.it</b></font><BR />
</body></html>