[ncl-install] NCL installation problem with ubuntu 16.04

Dipti Kalyanshetti diptikalyanshetti at gmail.com
Sun Jun 5 23:25:55 MDT 2016


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/d316c65d/attachment.html 


More information about the ncl-install mailing list