<html>
<body>
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>
<font color="#000000">> Hello Davide,
</font><br>
<font color="#000000">> Thank you for your answer. I am so sorry for not explaining my
</font><br>
<font color="#000000">> question properly.
</font><br>
<font color="#000000">> I am looking for the wind speed a location at each level but
</font><br>
<font color="#000000">> azimuthally. I am emphasizing azimuthally because wind blows at
</font><br>
<font color="#000000">> various speed from different directions around the location. So I
</font><br>
<font color="#000000">> need show the azimuthally averaged wind speed.
</font><br>
<font color="#000000">>
</font><br>
<font color="#000000">> On Wed, Jul 1, 2020 at 0:09 Davide Sacchetti <
</font><br>
<font color="#000000">> <a href="mailto:davide.sacchetti@arpal.liguria.it">davide.sacchetti@arpal.liguria.it</a>> wrote:
</font><br>
<font color="#000000">> > Sorry but I do not understand your question. Are you looking for
</font><br>
<font color="#000000">> > wind speed average between 900 and 300 hPa at a fixed location?
</font><br>
<font color="#000000">> > If this was the case:
</font><br>
<font color="#000000">> > 'set lev 900'
</font><br>
<font color="#000000">> > 'd mean(mag(u,v), lev=900, lev=300)'
</font><br>
<font color="#000000">> >
</font><br>
<font color="#000000">> > bye bye
</font><br>
<font color="#000000">> > Davide
</font><br>
<font color="#000000">> >
</font><br>
<font color="#000000">> >
</font><br>
<font color="#000000">> > From: lpasmanoranjan <<a href="mailto:lpasmanoranjan@gmail.com">lpasmanoranjan@gmail.com</a>>
</font><br>
<font color="#000000">> > To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>>
</font><br>
<font color="#000000">> > Sent: 6/29/2020 11:42 AM
</font><br>
<font color="#000000">> > Subject: [gradsusr] Azimuthally average
</font><br>
<font color="#000000">> >
</font><br>
<font color="#000000">> > > Dear Users,
</font><br>
<font color="#000000">> > > I would like to plot a vertical profile of azimuthally average of
</font><br>
<font color="#000000">> > > a variable at a location. e.g.
</font><br>
<font color="#000000">> > > I have a grid data at 3 km resolution.
</font><br>
<font color="#000000">> > > ‘set lat 21.5’
</font><br>
<font color="#000000">> > > ‘set lon 82.5’
</font><br>
<font color="#000000">> > > ‘set lev 900 300’
</font><br>
<font color="#000000">> > > ‘d azimuth_average(mag(u,v)’
</font><br>
<font color="#000000">> > >
</font><br>
<font color="#000000">> > > Any suggestions or scripts, how to proceed in GrADS?
</font><br>
<font color="#000000">> > >
</font><br>
<font color="#000000">> > > Thank you.
</font><br>
<font color="#000000">> > > _______________________________________________
</font><br>
<font color="#000000">> > > gradsusr mailing list
</font><br>
<font color="#000000">> > > <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
</font><br>
<font color="#000000">> > > <a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</font><br>
<br>
<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>