<div dir="ltr"><div>Sorry: I have not looked at your codes or figures. <br></div><div><br></div><div>However, if you look at:</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Applications/wind.shtml"><b>   https://www.ncl.ucar.edu/Applications/wind.shtml</b></a></div><div><br></div><div>Look at examples:</div><div><br></div><div><b>mfc_div_1.ncl</b></div><div><b>mfc_div_2.ncl</b></div><div><b><br></b></div><div>====<b>=====</b></div><div><pre>;---Calculate the Horizontal Moisture Flux Convergence [MFC]</pre></div><div><br></div><div>Some extracted code lines<br></div><div><pre>dp   = <b>dpres_plevel_Wrap</b>(plev, ps, ptop, 0) ; Pa; layar thickness   <br>dpg  = dp/g<br>---<br>uq   = u*q <br><br>;---Integrated mass weighted moisture flux components

  uq_dpg = uq*dpg                ; mass weighted 'uq'; [m/s][g/kg][kg/m2]=>[m/s][g/kg]
  iuq    = <b>dim_sum_n</b>(uq_dpg, 1)  ; summation/integration</pre></div><div>========<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 27, 2022 at 3:52 AM Appo derbetini via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear NCL community,</div><div><br></div><div><font size="2">I want to integrate moisture flux using ncl or python. <br></font></div><div><font size="2">For this purpose i wrote ncl codes with VIBETA  and DPRES functions. I tried the same thing in python (GEOCAT.COMP). <br><br></font></div><div><font size="2">Surprisingly, each code is doing its own work !!!</font></div><div><br></div><div><font size="2">Attached, codes and figures produced. <br></font></div><div><br></div><div><font size="2">There is something I am doing wrong?</font></div><div><br></div><div><font size="2">Any suggestion is welcome.</font></div><div><br></div><div><font size="2">Best regards</font><br> </div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>