<div dir="ltr">Hi all,<div>Anybody has the script to calculate Mg.  I have been trying to plot a cross section of </div><div>Theta-e and Mg to diagnose CSI (conditional symmetric instability, figure attached). </div><div>But, I have no idea whether the following calculation formula is right for Mg.</div>
<div><div><br></div><div> &#39;define f=2*((2*3.1416)/(24*60*60))*sin((3.1416/180)*lat)&#39;</div><div> &#39;define m=f*lon+sqrt(u*u+v*v)&#39; </div><div><br></div><div>I used the formula above to plot the cross section, but the value and pattern are unlike the figure attached.</div>
<div>Any suggestions?!</div><div>Thanks in advance.</div><div>Pengyuan</div><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><p>
<font face="Courier New">Dr. Pengyuan Li</font></p><p><font face="&#39;Courier New&#39;"><span style="font-size:small">No.238 Songling Road, Qingdao, P.R. China</span></font></p><p><font face="&#39;Courier New&#39;"><span style="font-size:small">Marine meteorology division</span></font></p>
<p><font face="&#39;Courier New&#39;"><span style="font-size:small">College of Physical and Environmental </span></font><span style="font-family:&#39;Courier New&#39;;font-size:small">Oceanography</span></p><p><font face="&#39;Courier New&#39;"><span style="font-size:small">Ocean university of China</span></font></p>
<p><font face="&#39;Courier New&#39;"><span style="font-size:small"><br></span></font></p></span>
</div></div>