<div dir="ltr">The bug is due to incorrect units for PSFC, which should be in hPa. So, in the WRFUserARW.ncl script, for the line you mentioned above:<div><br></div><div><span style="font-size:12.8px">cape = wrf_cape_3d( P, tk, QV, z, HGT, PSFC, True )</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">should be:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">cape = wrf_cape_3d( P, tk, QV, z, HGT, PSFC/100., True )</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div>See Dave's reply for how to view the wrf_cape_3d C/Fortran source code.</div><div><br></div><div>Bill</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 17, 2016 at 11:14 AM, Dan Chen <span dir="ltr"><<a href="mailto:dchen@ucar.edu" target="_blank">dchen@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I'm wondering if below email is successfully sent to ncl-talk list?
If so, can anyone help?<br>
<br>
Or can you let me know how the CIN and CAPE are calculated in
cape_3d function? I checked the code in
$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl, and found the
line "cape = wrf_cape_3d( P, tk, QV, z, HGT, PSFC, True )", but I
can't find the code where <b>wrf_cape_3d</b> is located. can you
help to check?<br>
<br>
Many thanks,<br>
Dan<span class=""><br>
<br>
<br>
<br>
<br>
<div>On 2/12/16 5:27 PM, Dan Chen wrote:<br>
</div>
<blockquote type="cite">Hi,
<br>
<br>
I found there is a bug fix of CAPE_3d calculation in 6.4.0. But I
can't find the v6.4 by module load ncl on yellowstone. It seemed
like the v6.3 is the latest.
<br>
<br>
can you provide me the path of v6.4.0 on yellowstone and how to
use it?
<br>
<br>
Many thanks,
<br>
Dan
<br>
<br>
<br>
</blockquote>
<br>
</span></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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><br>
<br></blockquote></div><br></div>