<div dir="ltr"><div>This '<b>MFC</b> question' has been sent to ncl-talk in the past....several times! <br></div><div>You should look at the archives.One <b>MFC</b> answer is here:<br></div><div><br></div><div><a href="http://mailman.ucar.edu/pipermail/ncl-talk/2014-December/001686.html" target="_blank"><b>http://mailman.ucar.edu/pipermail/ncl-talk/2014-December/001686.html</b></a></div><div><br></div><div>Extracted from this response, is the expansion of <b>DIV</b>(U*Q) within the integral into two separate components.<br><b></b></div><div><pre>><i> </i><b>MFC = Moisture Flux Convergence</b><i>
</i>><i>
</i>><i> </i><b>MFC_advect</b><i> = -( u*(dq/dx)+v*(dq/dy) ) ; advection term
</i>><i> </i><b>MFC_conv </b><i> = -q*( (du/dx)+ (dv/dy) ) ; con(div)-vergence
</i>><i>
</i>><i> </i><b>MFC = MFC_advect + MFC_conv</b><br><i>==========<br></i></pre><pre>I created two examples at:<br> <a href="https://www.ncl.ucar.edu/Applications/wind.shtml" target="_blank"><b>https://www.ncl.ucar.edu/Applications/wind.shtml</b></a></pre><pre><b>mfc_div_1.ncl </b>which implements<b> </b>the <b>DIV</b>(<b>v</b>q) form <br><b>mfc_div_2.ncl </b>which implements<b> </b>the components form.<br></pre><pre>'Luckily', they give the same 'answer'.<br></pre></div><div>Another example of implementing 'vector'/'divergence' operators/functions is just above these examples. See:: <b>wind_6.ncl</b></div><div>=========</div><div><br></div><div>I suggest that<i><i><b> </b></i></i>you and others who are interested in 'budgets'/fluxes/vertical-integration' carefully read Dave Stepaniack's::<a href="http://www.cgd.ucar.edu/cas/catalog/newbudgets/" target="_blank"><b> http://www.cgd.ucar.edu/cas/catalog/newbudgets/</b></a></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 16, 2019 at 4:48 AM Atul Saini via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@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>Hi NCL-talk,</div><div> <b> Is there any function available in NCL to calculate the Horizontal Moisture Flux Convergence?</b> Please have a look at the method provided below and suggest the function in NCL-</div><div><br></div><div><div><img src="cid:ii_jzdzoj9t0" alt="image.png" width="488" height="139"><br></div></div><div><br></div><div><br></div><div><br></div><div><div><div dir="ltr" class="gmail-m_8370770609935245121gmail-m_912247860291692954gmail-m_1124073292640464746gmail-m_8134309480427111572gmail-m_6002621101389318187gmail-m_-4269592345568393790gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><font size="4">Regards,</font></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=1flpEpH50fxgPRxFvuyiLu2A70K0UoFx-&revid=0Byj9ykpbAx3od3R4N016WWh0MnlGQ1JHUTg4Nk5HVmVMS2ZNPQ" width="304" height="116"><br></div><div> <br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>