thank you for suggestion. But
d maxloc(sqrt(u*u+v*v),lev=700,lev=1000) returns the grid coordinate for the maximum of expression <code><i></i></code>over the specified dimension range.<br>Since my data is arranged in reverse order because of which i have to set lev in reverse fashion.<br>
d max(sqrt(u*u+v*v),lev=700,lev=1000) gives me direct plot of maximum values but along with this plot i need level to which maximum value belongs.<br><br><br>Sushant<br><br><br><div class="gmail_quote">On Wed, Nov 25, 2009 at 6:10 PM, Davide Sacchetti <span dir="ltr"><<a href="mailto:davide.sacchetti@arpal.org">davide.sacchetti@arpal.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">you can use maxloc, pay attention to reverse your levs:<br>
d maxloc(sqrt(u*u+v*v),lev=1000,lev=700)<br>
you get the level number<br>
<br>
hoping it helps<br>
bye bye<br>
DAvide<br>
<div><div></div><div class="h5"><br>
On Wed, 2009-11-25 at 16:48 +0530, sushant puranik wrote:<br>
> Hello<br>
> I want to find maximum wind level. So I have used this command<br>
> d max(sqrt(u*u+v*v),lev=700,lev=1000)<br>
> this command works fine.<br>
> But alongwith this image i want to know level of each maximum value in<br>
> that plot.<br>
><br>
> Anyone has solution ?<br>
><br>
> Thanking you<br>
><br>
> --<br>
> Sushant Puranik<br>
> Junior Research Fellow<br>
> Dept. of Atmospheric & Space Sciences,<br>
> University of Pune,<br>
> Pune-07,<br>
> India.<br>
</div></div><font color="#888888">--<br>
Sacchetti Davide<br>
Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria<br>
ARPAL Unità Tecnica Complessa di livello Regionale<br>
V.le Brigare Partigiane 2 16121 Genova (I)<br>
tel: +39 010 6437535 fax: +39 010 6437520<br>
mail: <a href="mailto:davide.sacchetti@arpal.org">davide.sacchetti@arpal.org</a> web: <a href="http://www.meteoliguria.it" target="_blank">www.meteoliguria.it</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Sushant Puranik<br>Junior Research Fellow<br>Dept. of Atmospheric & Space Sciences,<br>University of Pune,<br>Pune-07,<br>India.<br>