<div dir="ltr"><div><div><div><div>Hi Tristan,<br><br></div>This is a 6.4.0 function. I did not identify it as such in the documentation. My bad!<br></div>I have added the identifier.<br><br> <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/wetbulb.shtml">http://www.ncl.ucar.edu/Document/Functions/Built-in/wetbulb.shtml</a><br><br></div>The underlying code is fortran because a Newton-Raphson style iteration is used. <br><br></div>D<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 16, 2016 at 9:34 AM, Tristan Ballard <span dir="ltr"><<a href="mailto:tballard@stanford.edu" target="_blank">tballard@stanford.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><br>I cannot seem to use the wetbulb() function. I receive the error:<div><div><br></div><div><i>"fatal:Undefined identifier: (wetbulb) is undefined, can't continue"</i></div></div><div><br></div><div>Is there an NCL script that I should be calling with 'load' each time or that I should reinstall?</div><div><br></div><div>Thank you for your help,<br>Tristan</div><div><br></div><div><br></div><div><br></div><div>Example script:<br><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" </div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"</div></div><div><br></div><div>begin</div><div><div> p = (/1000, 975 , 850 /) ; hPa, mb </div><div> tc = (/40 , 30 , 20 /) ; C</div><div> tdc = (/27.6, 26.17, 14.37/) ; C</div><div><br></div><div> twb = wetbulb(p, tc, tdc)</div></div><div><br></div><div>end</div><div><br></div><div><br></div><div>I'm running NCL 6.3.0.</div><div><br></div></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>