Hey all
I'm quite a rookie with NCL so any help would be welcome.
I've been working on a script on a computer overseas and brought it back
with me only to find a bunch of error messages I wasn't getting before.
Specifically:
terminate called after throwing an instance of 'libdap::Error'
Abort
I think it has to do with the libraries being in a different place but I'm
not sure how to tell NCL where to find the functions I need.
One of the functions I am using is copy_VarMeta. This requires the line
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
If I comment this line out then I get the error:
fatal:syntax error: line 95 in file
Pairs3.ncl before or near ;replaces metadata
copy_VarMeta (ua,Wwspd)
;replaces metadata
^
fatal:syntax error: possibly an undefined
procedure
fatal:Syntax Error in block, block not
executed
fatal:error at line 136 in file
Pairs3.ncl
SO then the program actually runs which makes me think the problem is with
loading the function.
I've checked the path to the contributed.ncl function
(/usr/share/ncarg/nclscripts/csm/contributed.ncl)
but if I change the suggested line to :
load "./usr/share/ncarg/nclscripts/csm/contributed.ncl"
I get the error:
fatal:Could not open
(./usr/share/ncarg/nclscripts/csm/contributed.ncl)
fatal:error at line 9 in file Pairs3.ncl
As I said I'm quite new to this so maybe I'm missing something obvious.
Any help would be appreciated.
Thanks
Brendan
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jul 16 03:37:23 2010
This archive was generated by hypermail 2.1.8 : Mon Jul 19 2010 - 09:39:01 MDT