<div dir="ltr">Hi users,<div><br></div><div>I&#39;m using the wrf_cape_2d function to calculate CAPE. I wrote a script and when I run it I receive the mesage below.</div><div><br></div><div><div><b>capecalc3d: Outside of lookup table bounds. prs,thte=   1016.5871875000000                            NaN</b></div></div><div><br></div><div>I compared my units and variables with the link below and everything it&#39;s okay.</div><div><br></div><div><a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/wrf_cape_2d.shtml#Description">http://www.ncl.ucar.edu/Document/Functions/Built-in/wrf_cape_2d.shtml#Description</a><br></div><div><br></div><div>Can anyone give me any tip?</div><div><br></div><div>My script is in attachment.</div><div><br></div><div>Thanks,</div><div><br></div><div>Guiherme.</div></div><div dir="ltr">-- <br></div><div dir="ltr"><div><font size="2"><div>------------------------------------------------------------------------------------------</div><div>Dr. Guilherme Martins</div><div>Instituto Nacional de Pesquisas Espaciais (INPE)<br></div></font></div><div><font size="2">Centro de Ciência do Sistema Terrestre (CCST) - Prédio CES<br></font>Grupo de Superfície-Biosfera-Atmosfera (GSBA)<font size="2"><br></font></div><div>Telefone (INPE/CP): +55 12 3186-9520 || Celular (TIM): +55 12 98152-8580<br>E-mail: <a href="mailto:guilherme.martins@inpe.br">guilherme.martins@inpe.br</a> || <a href="mailto:jgmsantos@gmail.com">jgmsantos@gmail.com</a><br>Skype: guilherme.martins.<br>Homepage: <a href="https://sites.google.com/site/jgmsantos">https://sites.google.com/site/jgmsantos</a><br>Currículo Lattes: <a href="http://lattes.cnpq.br/5997657584785803">http://lattes.cnpq.br/5997657584785803</a><span><br></span>------------------------------------------------------------------------------------------</div></div>