<div dir="ltr"><div><div>As noted in the function documentation,<br><br>   <a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/pot_temp_equiv.shtml">https://www.ncl.ucar.edu/Document/Functions/Contributed/pot_temp_equiv.shtml</a><br><br></div>This is a 6.4.0 function located in the contributed.ncl library.<br><br></div><div>If you have NCL 6.4.0<br><br></div><div>  %&gt; less $NCARG_ROOT/lib/ncarg/nclscripts/csm/<a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/contrib.shtml">contributed.ncl</a></div><div><br>--<br></div><div>then search for &#39;pot_temp_equiv&#39;<br><br>---<br></div><div>I have extracted and attached the NCL code.<br><br></div><div>Good Luck<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 17, 2017 at 3:17 PM, Xu Deng <span dir="ltr">&lt;<a href="mailto:dengxu89@hotmail.com" target="_blank">dengxu89@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div class="m_-4545708541691162429WordSection1">
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I wonder if someone can tell me the source code of the function ”pot_temp_equiv”, which calculates the equivalent potential temperature. I am not sure what method is used to calculate the theta-e.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thank you in advance and have a good day!<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Xu Deng <u></u><u></u></p>
</font></span></div>
</div>

<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>