<div dir="ltr"><div>NCL developers did NOT develop the underlying fortran codes invoked by 'wrf_cape_3d' <br></div><div>NCL developers created only the C interfaces between NCL and the fortran subroutines.<br></div><div><br></div><div>Hence, we can not answer your questions. I have attached the fortran code that I think is used by NCL.<br></div><div><br></div><div>Good Luck. <br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 4, 2022 at 2:31 PM Sai Prasanth <<a href="mailto:prashanth.bhalachandran@gmail.com">prashanth.bhalachandran@gmail.com</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 class="gmail_default" style="font-family:garamond,times new roman,serif">Dear NCL experts, <br></div><div class="gmail_default" style="font-family:garamond,times new roman,serif">I am trying to compute the CAPE for the various columns in a cyclonic storm and I'd like to change the definition of the "environment". As a result, I'd like to have control over the various steps in the process and prefer not to directly use the CAPE_3D subroutine. Unfortunately, I can't seem to figure out how to calculate the integral limits viz. the level of free convection and the level of equilibrium. I see that the parcel is defined as the 500 m vertical block within which the various parameters are averaged. Can you please share the code of wrf_cape_3d or explain in algorithmic terms how the environment is defined, and how the two levels that form the integral bounds are computed? <br></div><div class="gmail_default" style="font-family:garamond,times new roman,serif"><br></div><div class="gmail_default" style="font-family:garamond,times new roman,serif">Thank you, <br></div><div class="gmail_default" style="font-family:garamond,times new roman,serif">Prashanth <br></div></div>
</blockquote></div>