[ncl-talk] Error in NCL sample script: Undefined identifier (regline_stats)

Angela Wyss angela.wyss at monash.edu
Mon Oct 23 01:15:08 MDT 2017


I was able to solve the problem by getting the latest version. Thank you very much for the help!!

> On 23 Oct 2017, at 17:37, Barry Lynn <barry.h.lynn at gmail.com> wrote:
> 
> Hi:
> 
> I assume that you need to update your NCL to a more recent version.
> 
> If you want me to be sure, please tell me where to download the input file and I will try it on my computer.
> 
> Barry
> 
> On Mon, Oct 23, 2017 at 9:19 AM, Angela Wyss <angela.wyss at monash.edu <mailto:angela.wyss at monash.edu>> wrote:
> Hello everybody,
> 
> I’m trying to run a sample regression script from the NCL pace (https://www.ncl.ucar.edu/Applications/Scripts/regress_3.ncl <https://www.ncl.ucar.edu/Applications/Scripts/regress_3.ncl>) I’m using the assigned data (air.sig995.mon.mean.nc <http://air.sig995.mon.mean.nc/>). 
> I have the 6.1.2 version of NCL and I loaded the following commands:
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" 
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" 
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" 
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl” 
> 
> The script works fine until the line where it’s supposed to perform the linear regression:  rc = regline_stats(year, xavg). 
> Here I get the error message: "fatal:Undefined identifier: (regline_stats) is undefined, can't continue”
> 
> Does anyone have an idea how I can run the regline_stats 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.
> 
> 
> Cheers,
> Angie
> 
> 
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
> 
> 
> 
> 
> -- 
> Barry H. Lynn, Ph.D
> Senior Lecturer,
> The Institute of the Earth Science, 
> The Hebrew University of Jerusalem, 
> Givat Ram, Jerusalem 91904, Israel 
> Tel: 972 547 231 170
> Fax: (972)-25662581
> 
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com <http://weather-it-is.com/>
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
> US 914 432 3108

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171023/b89c1347/attachment.html>


More information about the ncl-talk mailing list