<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div id="yiv2905684408" class="" style=""><div class="" style=""><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:10pt;" class=""><div class="" id="yiv2905684408yui_3_16_0_5_1407282295960_4" style=""><span class="" id="yiv2905684408yui_3_16_0_5_1407282295960_13" style="">Hi Ekin,</span></div><div class="" id="yiv2905684408yui_3_16_0_5_1407282295960_4" style=""><span style="background-color: transparent;">I set my path like this (</span><span class="" style="background-color: transparent; font-family: Menlo; font-size: 11px;">export NCARG_ROOT=/user/local/ahaque/CMIP5) and still having following error message. Please help me. Regards</span></div><div class="" id="yiv2905684408yui_3_16_0_5_1407282295960_4" style=""><span class="" style="background-color: transparent;
font-family: Menlo; font-size: 11px;">Azizul</span></div><div class="" id="yiv2905684408yui_3_16_0_5_1407282295960_4" style="color:rgb(0, 0, 0);font-size:13px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal;"><span class="" id="yiv2905684408yui_3_16_0_5_1407282295960_20" style=""><br clear="none" style=""></span></div><div class="" id="yiv2905684408yui_3_16_0_1_1407282295960_3049" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">warning:Unable to load System Resource File /user/local/ahaque/CMIP5/lib/ncarg/sysresfile</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">warning:["Palette.c":1850]:NhlLoadColormapFiles: Invalid colormap
directory: /user/local/ahaque/CMIP5/lib/ncarg/colormaps</div><div class="" id="yiv2905684408yui_3_16_0_1_1407282295960_3055" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)</div><div class="" id="yiv2905684408yui_3_16_0_5_1407282295960_4" style="background-color:transparent;"><span class="" id="yiv2905684408yui_3_16_0_5_1407282295960_23" style="">
</span></div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">fatal:error at line 4 in file cmip5ac.ncl</div> <div class="" id="yiv2905684408yqt06686" style=""><div class="" id="yiv2905684408yui_3_16_0_5_1407282295960_7" style="display: none;"> <div class="" style="font-family:times new roman, new york, times, serif;font-size:10pt;"> <div class="" style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div class="" dir="ltr" style=""> <font class="" size="2" face="Arial" style=""> On Monday, 4 August 2014, 16:21, Ekin Akoglu <ekin@ims.metu.edu.tr> wrote:<br clear="none" class="" style=""> </font> </div> <br clear="none" class="" style=""><br clear="none" class="" style=""> <div class="" style=""><div class="" id="yiv2905684408" style=""><div class="" style=""><div class="" dir="ltr" style="">You should have replaced the "/path/to/your/ncl_folder" part in the command statement with your
NCL installation folder on your system.<div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">Cheers,</div><div class="" style=""><br clear="all" class="" style="">
<div class="" style="">Ekin</div>
<br clear="none" class="" style=""><br clear="none" class="" style=""><div class="" id="yiv2905684408yqt55805" style=""><div class="" style="">On 5 August 2014 00:16, azizul haque <span class="" dir="ltr" style=""><<a rel="nofollow" shape="rect" class="" ymailto="mailto:haque.azizul320@yahoo.com" target="_blank" href="mailto:haque.azizul320@yahoo.com" style="">haque.azizul320@yahoo.com</a>></span> wrote:<br clear="none" class="" style=""><blockquote class="" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="" style=""><div class="" style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:10pt;"><div class="" style=""><span class="" style="">Hi Ekin,</span></div><div class="" style="color:rgb(0,0,0);font-size:13px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal;">
<span class="" style="">Thanks for your quick response. I did it and got following message:</span></div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">warning:Unable to load System Resource File /path/to/your/ncl_folder/lib/ncarg/sysresfile</div>
<div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">
warning:["Palette.c":1850]:NhlLoadColormapFiles: Invalid colormap directory: /path/to/your/ncl_folder/lib/ncarg/colormaps</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)</div>
<div class="" style="background-color:transparent;"><span class="" style="">
</span></div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">fatal:error at line 4 in file cmip5ac.ncl</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">Any help</div><div class="" style="">Azizul</div><div class="" style="color:rgb(0,0,0);font-size:13px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal;">
<span class="" style=""><br clear="none" class="" style=""></span></div> <div class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style=""></div><div class="" style="display:block;"> <div class="" style="font-family:times new roman, new york, times, serif;font-size:10pt;"> <div class="" style="font-family:times new roman, new york, times, serif;font-size:12pt;">
<div class="" dir="ltr" style=""> <font class="" face="Arial" style=""> On Monday, 4 August 2014, 16:00, Ekin Akoglu <<a rel="nofollow" shape="rect" class="" ymailto="mailto:ekin@ims.metu.edu.tr" target="_blank" href="mailto:ekin@ims.metu.edu.tr" style="">ekin@ims.metu.edu.tr</a>> wrote:<br clear="none" class="" style=""> </font> </div> <br clear="none" class="" style=""><br clear="none" class="" style=""> <div class="" style=""><div class="" style=""><div class="" style=""><div class="" dir="ltr" style="">
Dear Azizul,<div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">Could you please try setting your NCARG_ROOT environment variable like below in your terminal?</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">export NCARG_ROOT=/path/to/your/ncl_folder</div>
<div class="" style=""><br clear="none" class="" style="">
</div><div class="" style="">Cheers,</div><div class="" style=""><br clear="all" class="" style=""><div class="" style="">Ekin</div><br clear="none" class="" style=""><div class="" style="">On 4 August 2014 23:50, azizul haque <span class="" dir="ltr" style=""><<a rel="nofollow" shape="rect" class="" ymailto="mailto:haque.azizul320@yahoo.com" target="_blank" href="mailto:haque.azizul320@yahoo.com" style="">haque.azizul320@yahoo.com</a>></span> wrote:<br clear="none" class="" style="">
<blockquote class="" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="" style=""><div class="" style=""><div class="" style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:10pt;"><div class="" style="">
Hi NCL User</div><div class="" style="">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:</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">
********warning:Unable to Get System Resource File Name?</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">warning:Unable to load System Resource File (null)</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">
fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL</div>
<div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">
warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">warning:Unable to Get System Resource File Name?</div>
<div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">
NDV_COLORMAP_PATH environment variable not
set:</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;"><span class="" style="white-space:pre-wrap;">        </span>defaulting to .:$NCARG_ROOT/lib/ncarg/colormaps</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">
warning:["Palette.c":1844]:NhlLoadColormapFiles: Invalid directory encountered in colormap path specification</div><div class="" style="">
</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">/usr/local/bin/ncl: line 5: 1088 Segmentation fault: 11 /usr/local/ncl/bin/ncl "$@"*******************</div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;">
<br clear="none" class="" style=""></div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;color:rgb(0,0,0);background-color:transparent;font-style:normal;">Appreciated for your kind support and cooperation.</div>
<div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;color:rgb(0,0,0);background-color:transparent;font-style:normal;">
<br clear="none" class="" style=""></div><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;color:rgb(0,0,0);background-color:transparent;font-style:normal;">Regards</div><span class="" style=""><font class="" color="#888888" style=""></font></span><div class="" style="margin-top:0px;margin-bottom:0px;font-size:11px;font-family:Menlo;color:rgb(0,0,0);background-color:transparent;font-style:normal;">
Azizul</div></div></div></div><br clear="none" class="" style="">_______________________________________________<br clear="none" class="" style="">
ncl-talk mailing list<br clear="none" class="" style="">
List instructions, subscriber options, unsubscribe:<br clear="none" class="" style="">
<a rel="nofollow" shape="rect" class="" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" style="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br clear="none" class="" style="">
<br clear="none" class="" style=""></blockquote></div><br clear="none" class="" style=""></div></div></div></div><br clear="none" class="" style=""><br clear="none" class="" style=""></div> </div> </div> </div> </div></div></blockquote></div></div><br clear="none" class="" style=""></div></div></div></div><br clear="none" class="" style=""><br clear="none" class="" style=""></div> </div> </div> </div></div> </div></div></div></div></body></html>