[ncl-install] ncl not seeing NCARG_ROOT?
winickjr at gmail.com
Fri Feb 16 17:07:14 MST 2018
I think the Ubuntu install from the repository puts the binary in
/usr/bin and most other stuff in /usr/share/ncarg. So if you set NCAR's
suggested paths it won't work or find things.
On 02/16/2018 03:36 PM, Dave Burns via ncl-install wrote:
> Executing ncl on a newly installed ubuntu box and an old ncl file that
> used to work generates this error:
> >fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
> >fatal:error at line 2 in file proj1.ncl
> That's odd, because NCARG_ROOT is defined and that file is openable
> and has permissive permissions for all users:
> >user at host:~/Downloads/1200/0214$ echo $NCARG_ROOT
> >user at host:~/Downloads/1200/0214$ ls -la
> -rwxr-xr-x 1 root root 490093 Jan 28 2016
> >user at host:~/Downloads/1200/0214$ head
> ; $Id: gsn_code.ncl,v 220.127.116.11 2010-05-06 17:13:26 haley Exp $
> So I am confused. The only way "could not open" would make sense was
> if ncl was opening the file for write access, which still doesn't make
> Here are the first lines from the ncl file:
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" ; These
> four libraries are automatically
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" ; loaded
> from NCL V6.4.0 onward.
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" ; No
> need for user to explicitly load.
> How do I fix this?
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ncl-install