[ncl-talk] problem for environment in mac

Ekin Akoglu ekin at ims.metu.edu.tr
Tue Aug 5 10:04:03 MDT 2014


Dear Azizul,

There is still something wrong with your NCARG_ROOT environment variable
setting. Please see this link http://www.ncl.ucar.edu/FAQ/#err_msgs_002 and
try to follow the instructions written there.

Regards,

Ekin

On 5 August 2014 17:54, azizul haque <haque.azizul320 at yahoo.com> wrote:

> Hi Ekin,
> I set my path like this (export NCARG_ROOT=/user/local/ahaque/CMIP5) and
> still having following error message. Please help me. Regards
> Azizul
>
> warning:Unable to load System Resource File
> /user/local/ahaque/CMIP5/lib/ncarg/sysresfile
> warning:WorkstationClassInitialize:Unable to access rgb color database -
> named colors unsupported:[errno=2]
> warning:["Palette.c":1850]:NhlLoadColormapFiles: Invalid colormap
> directory: /user/local/ahaque/CMIP5/lib/ncarg/colormaps
> fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
> fatal:error at line 4 in file cmip5ac.ncl
>    On Monday, 4 August 2014, 16:21, Ekin Akoglu <ekin at ims.metu.edu.tr>
> wrote:
>
>
> You should have replaced the "/path/to/your/ncl_folder" part in the
> command statement with your NCL installation folder on your system.
>
> Cheers,
>
> Ekin
>
>
> On 5 August 2014 00:16, azizul haque <haque.azizul320 at yahoo.com> wrote:
>
> Hi Ekin,
> Thanks for your quick response. I did it and got following message:
> warning:Unable to load System Resource File
> /path/to/your/ncl_folder/lib/ncarg/sysresfile
> warning:WorkstationClassInitialize:Unable to access rgb color database -
> named colors unsupported:[errno=2]
> warning:["Palette.c":1850]:NhlLoadColormapFiles: Invalid colormap
> directory: /path/to/your/ncl_folder/lib/ncarg/colormaps
> fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
>  fatal:error at line 4 in file cmip5ac.ncl
>
> Any help
> Azizul
>
>
>
>   On Monday, 4 August 2014, 16:00, Ekin Akoglu <ekin at ims.metu.edu.tr>
> wrote:
>
>
>  Dear Azizul,
>
> Could you please try setting your NCARG_ROOT environment variable like
> below in your terminal?
>
> export NCARG_ROOT=/path/to/your/ncl_folder
>
> Cheers,
>
> Ekin
>
> On 4 August 2014 23:50, azizul haque <haque.azizul320 at yahoo.com> wrote:
>
> Hi NCL User
> I was using my script and data in the NOAA lab, Boulder. Now I copied all
> data and script into my mac pro and trying to do similar plotting and
> getting following error message:
> ********warning:Unable to Get System Resource File Name?
> warning:Unable to load System Resource File (null)
> fatal:GetSysAppDir:Unable to get a default value for the system App
> Resource directory
> warning:["Resources.c":734]:Unable to set appSysDir to default value -
> Using NULL
> fatal:GetSysAppDir:Unable to get a default value for the system App
> Resource directory
> warning:["Resources.c":734]:Unable to set appSysDir to default value -
> Using NULL
> warning:Unable to Get System Resource File Name?
> warning:WorkstationClassInitialize:Unable to access rgb color database -
> named colors unsupported:[errno=2]
> NDV_COLORMAP_PATH environment variable not set:
> defaulting to .:$NCARG_ROOT/lib/ncarg/colormaps
> warning:["Palette.c":1844]:NhlLoadColormapFiles: Invalid directory
> encountered in colormap path specification
> /usr/local/bin/ncl: line 5:  1088 Segmentation fault: 11
> /usr/local/ncl/bin/ncl "$@"*******************
>
> Appreciated for your kind support and cooperation.
>
> Regards
> Azizul
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140805/53166c82/attachment.html 


More information about the ncl-talk mailing list