<div dir="ltr"><div><div><div>Hi,<br><br></div>Yes, Barry is correct, the docs on this function do explicitly state the function was introduced in v6.2.0:<br><br><a href="http://ncl.ucar.edu/Document/Functions/Contributed/regline_stats.shtml">http://ncl.ucar.edu/Document/Functions/Contributed/regline_stats.shtml</a><br><br></div>The current version of NCL is v6.4.0   BTW: as of somewhere in the version chain (6.3.0 perhaps?), its no longer necessary to explicitly load the core libraries -- they are loaded automatically.<br><br></div>Rick<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 23, 2017 at 12:37 AM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</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">Hi:<div><br></div><div>I assume that you need to update your NCL to a more recent version.</div><div><br></div><div>If you want me to be sure, please tell me where to download the input file and I will try it on my computer.</div><div><br></div><div>Barry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 23, 2017 at 9:19 AM, Angela Wyss <span dir="ltr"><<a href="mailto:angela.wyss@monash.edu" target="_blank">angela.wyss@monash.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello everybody,<br><br>I’m trying to run a sample regression script from the NCL pace (<a href="https://www.ncl.ucar.edu/Applications/Scripts/regress_3.ncl" target="_blank">https://www.ncl.ucar.edu/Appl<wbr>ications/Scripts/regress_3.ncl</a><wbr>) I’m using the assigned data (<a href="http://air.sig995.mon.mean.nc" target="_blank">air.sig995.mon.mean.nc</a>). <br>I have the 6.1.2 version of NCL and I loaded the following commands:<br>load "$NCARG_ROOT/lib/ncarg/nclscri<wbr>pts/csm/gsn_code.ncl" <br>load "$NCARG_ROOT/lib/ncarg/nclscri<wbr>pts/csm/gsn_csm.ncl" <br>load "$NCARG_ROOT/lib/ncarg/nclscri<wbr>pts/csm/contributed.ncl" <br>load "$NCARG_ROOT/lib/ncarg/nclscri<wbr>pts/csm/shea_util.ncl” <br><br>The script works fine until the line where it’s supposed to perform the linear regression:  rc = regline_stats(year, xavg). <br>Here I get the error message:<b> "fatal:Undefined identifier: (regline_stats) is undefined, can't continue”</b><div><br></div><div>Does anyone have an idea how I can run the<b> regline_stats </b>command? It does’t seem to be loaded. Since I'm using a NCL sample script I'm assuming it has nothing do with the code itself.</div><div><br></div><div><br></div><div>Cheers,</div><div>Angie</div><div><br></div></div><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_8618944119574023424gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></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>