<div>Thank you José and Heiner, I will try both. Then I will tell you!!</div>
<div>Eduardo.<br><br> </div>
<div><span class="gmail_quote">2006/11/21, José Paulo Bonatti <<a href="mailto:bonatti@cptec.inpe.br">bonatti@cptec.inpe.br</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>May be this work:<br><br>* k is the vertical index, km is the maximum<br>k=1<br>while (k <= km)
<br>k1=k-1<br>k2=k+1<br>if (k = 1)<br> k1=1<br>endif<br>if (k = km)<br> k2=km<br>endif<br>* Getting pressure in Pascal (if in zdef the pressure is given in mb<br>= hPa)<br>'set z 'k1<br>'define p1=lev*100'<br>'set z 'k2
<br>'define p2=lev*100'<br>'set z 'k<br>* Vertical divergence in pressure coordinates considering omeg is the<br>* vertical pressure velocity in Pa/seg.<br>* vertdiv1, vertdiv2, ... will be the vertical divergence for levels 1,
<br>2, ...<br>'define verdiv'k'=(omeg(z='k2')-omeg(z='k1'))/(p2-p1))'<br>k=k+1<br>endwhile<br>*<br>Bonatti<br><br>Eduardo Agosta Scarel wrote:<br><br>> Hi you all!!<br>><br>> Does anybody how to estimate the vertical divergence?
<br>> I am trying to do so with the cdiff command but with no success.<br>> Thanks for any help!!<br>> Eduardo<br><br><br>--<br>*****************************************************************<br> Jose Paulo Bonatti
<br> Dr. em Meteorologia - Pesquisador Titular<br> Instituto Nacional de Pesquisas Espaciais - INPE<br> Centro de Previsao de Tempo e Estudos Climaticos - CPTEC<br> Divisao de Modelagem e Desenvolvimento - DMD
<br> (<a href="http://www.cptec.inpe.br/">http://www.cptec.inpe.br/</a>)<br> Rodovia Presidente Dutra, km 40 SPRJ<br> 12630-000 Cachoeira Paulista - SP - Brasil<br> Tel: (+55) (12)
3186.8421 Fax: (+55) (12) 3101.2835<br>*****************************************************************<br></blockquote></div>