[ncl-install] NCL installation problem with ubuntu 16.04

Dipti Kalyanshetti diptikalyanshetti at gmail.com
Mon Jun 6 00:22:50 MDT 2016


Hi,

I uninstalled ncl-ncarg and then downloaded precompiled binaries and
installed ncl as per instructions on ncl website. It is working.


Thanks and Regards,
Dipti

2016-06-06 10:55 GMT+05:30 Dipti Kalyanshetti <diptikalyanshetti at gmail.com>:

> Hi,
>
> I did the changes as per your instructions still getting the error as
> follows :
>
> Copyright (C) 1995-2015 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 6.3.0
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ for more details.
> warning:Unable to load System Resource File usr/share/ncarg/sysresfile
> warning:WorkstationClassInitialize:Unable to access rgb color database -
> named colors unsupported:[errno=2]
> warning:["Palette.c":1850]:NhlLoadColormapFiles: Invalid colormap
> directory: usr/share/ncarg/colormaps
> fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
> fatal:error at line 9 in file SLP_rgress_code.ncl
>
> Please let me know the solution for this.
>
> Thanks & Regards,
> Dipti
>
> 2016-06-03 19:47 GMT+05:30 Mary Haley <haley at ucar.edu>:
>
>> Dipti,
>>
>> You have an error. The first line needs a "/" in front of "usr":
>>
>> export NCARG_NCARG=/usr/share/ncarg
>>
>> Also, you do not need this line:
>>
>> export PATH=$NCARG_NCARG:$PATH
>>
>> There is nothing that's "executable" in $NCARG_NCARG, so setting the
>> above will have no use.
>>
>> --Mary
>>
>>
>> On Fri, Jun 3, 2016 at 3:13 AM, Dipti Kalyanshetti <
>> diptikalyanshetti at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I have installed NCL using sudo apt install ncl-ncarg. But it is not
>>> working correctly. Getting error
>>>  *fatal:Could not open
>>>  ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl) .*
>>> This is due to environmental variables not set properly.
>>>
>>>  I set variables in my .bashrc file as follows (reading after
>>> https://www.ncl.ucar.edu/Support/talk_archives/2014/1620.html)
>>>
>>> export NCARG_NCARG=usr/share/ncarg
>>> export NCARG_ROOT=/usr
>>> export PATH=$NCARG_ROOT/bin:$PATH
>>> export PATH=$NCARG_NCARG:$PATH
>>>
>>> But still I am getting same error.
>>>
>>>
>>> Thanks and Regards,
>>> Dipti
>>>
>>>
>>> _______________________________________________
>>> ncl-install mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20160606/ee46015a/attachment.html 


More information about the ncl-install mailing list