<div dir="ltr">Dear All,<div><br></div><div>I'm trying to calculate the moisture flux convergence using the following commands:</div><div><br></div><div><div>*At 850 mbĀ </div><div><br></div><div>'set dfile 1'</div><div>'define q=shum(z=3)'</div><div><br></div><div>'set dfile 2'</div><div>'define u=uwnd(z=3)'</div><div><br></div><div>'set dfile 3'</div><div>'define v=vwnd(z=3)'</div><div><br></div><div>'color -0.2 0.2 0.02 -kind blue->white->red'<br></div><div>'define mconv=(1)*hdivg(u*q,v*q)*1e6'</div><div><br></div><div>According to this link, I have to add the advection term.</div><div><br></div><div><a href="http://www.spc.noaa.gov/publications/banacos/mfc-sls.pdf">http://www.spc.noaa.gov/publications/banacos/mfc-sls.pdf</a></div><div><br></div><div><img src="cid:ii_159e390675f5b588" alt="Inline image 1" width="406" height="134" style="margin-right: 0px;"><br></div><div><br></div><div>Question:</div><div><br></div><div>1. Is there a way to do this in grads?</div><div>2. Or is there a function in GRADS that can calculate partial derivatives?</div><div><br></div><div>I'll appreciate any help.</div><div><br></div><div>Best,</div><div><br></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndon Mark P. Olaguera</u></b></font><div><br></div></div></div></div></div></div></div></div></div></div>
</div></div>