<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br><span id="result_box" lang="en"><span class="hps"><span id="result_box" lang="en"><span class="hps">I'm trying to</span> <span class="hps">calculate the</span> <span class="hps">transport</span> <span class="hps">and convergence</span> <span class="hps">of</span> <span class="hps">moisture</span> <span class="hps">flux</span> <span class="hps">integrated</span> <span class="hps">in three</span> <span class="hps">layers</span> <span class="hps">of the troposphere</span><span>. </span><span class="hps">Define</span> <span class="hps">the layers</span> <span class="hps">as follows:</span> </span></span><span class="hps"></span><br><br> <span class="hps">* Lower troposphere</span><span>:</span><br> <span class="hps">'defines</span> <span class="hps">fqu1</span> <span class="hps">vint</span> <span class="hps">=</span> <span class="hps">(p, q</span><span class="hps">*u</span><span class="hps"></span><span>,</span> <span class="hps">850)</span><span>'</span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; </span><span class="hps">the surface pressure</span> <span class="hps">p</span> <span class="hps">~ 1000</span> <span class="hps">hPa</span><br><br> <span class="hps">* Middle troposphere</span><span>:</span><br> <span class="hps">'set</span> <span class="hps">lev</span> <span class="hps">700</span><span>'</span><br> <span class="hps atn">'</span><span>defines</span> <span class="hps">fqu2</span> <span class="hps">vint</span> <span class="hps">=</span> <span class="hps atn">(</span><span>lev,</span> <span class="hps">u*</span><span class="hps">q</span><span class="hps"></span><span>,</span> <span class="hps">500</span><span>)</span><span>'</span><br><br> <span class="hps alt-edited">* High</span> <span class="hps">Troposphere</span><span>:</span><br> <span class="hps">'set</span> <span class="hps">lev</span> <span class="hps">500</span><span>'</span><br> <span class="hps atn">'</span><span>defines</span> <span class="hps">fqu3</span> <span class="hps">vint</span> <span class="hps">=</span> <span class="hps atn">(</span><span>lev,</span> <span class="hps">u</span>*<span class="hps">q</span><span class="hps"></span><span>,</span> <span class="hps">300</span><span>)</span><span>'</span><br></span><br><span id="result_box" lang="en"><span id="result_box" class="short_text" lang="en"><span class="hps">The same for</span> <span class="hps">fqv1, fqv2 and fqv3...<br><br></span></span><span class="hps alt-edited">For then</span><span>, the values ​​at</span> <span class="hps">low levels</span> <span class="hps">are</span> <span class="hps">lower than</span> <span class="hps">in the</span> <span class="hps">middle and upper</span> <span class="hps">troposphere.</span><br> <span class="hps"></span></span><span id="result_box" lang="en"><span class="hps"><span id="result_box" lang="en"><span class="hps">Is there another</span> <span class="hps">way to calculate</span><span>?</span> </span></span><span></span><br><br> <span class="hps">Something is</span> <span class="hps">wrong, since</span> <span class="hps">I reviewed</span> <span class="hps">all the steps</span> <span class="hps">and the only</span> <span class="hps">change</span> <span class="hps">I make</span> <span class="hps">is</span> <span class="hps">the</span> <span class="hps atn">'</span><span>lev</span><span>'</span><span>.</span><br> <span class="hps">Before</span> <span class="hps">had done</span> <span class="hps">the integration</span> <span class="hps">from 1000 to</span> <span class="hps">300 hPa</span> <span class="hps">and not</span> <span class="hps">had any problem</span><span>.</span><br><br> <span class="hps">thank you</span><span>,</span><br> <span class="hps">May</span></span><br>                                               </div></body>
</html>