<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span><br></span></div><div><span style="font-size: 12pt; ">Dear NCL developer,</span><br></div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div id="yiv742360710"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; ">
<div style=""><span style=""></span>&nbsp;</div>
<div style=""><span style="">I would like to use NCL in cygwin. I want to&nbsp;ask why the ".bash_profile" was not executed automatically when I start up cygwin ( I have to do as "source .bash_profile" manually).</span></div>
<div style=""><span style="">I know this is a linux question but I would appreciate it if you could give any help.</span></div>
<div style=""><span style=""></span>&nbsp;</div>
<div style=""><span style="">With my best regards,</span></div>
<div style=""><span style="">Mark&nbsp;</span></div>
<div style=""><br style=""></div>
<div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; ">
<div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; ">
<div style="" dir="ltr"><font size="2" face="Arial">----- Forwarded Message -----<br><b><span style="FONT-WEIGHT:bold;">From:</span></b> Mary Haley &lt;haley@ucar.edu&gt;<var id="yiv742360710yui-ie-cursor"></var><br><b><span style="FONT-WEIGHT:bold;">To:</span></b> Mark Chan &lt;cym263@yahoo.com&gt; <br><b><span style="FONT-WEIGHT:bold;">Cc:</span></b> NCL Helpline &lt;ncl-talk@ucar.edu&gt; <br><b><span style="FONT-WEIGHT:bold;">Sent:</span></b> Wednesday, September 12, 2012 4:08 AM<br><b><span style="FONT-WEIGHT:bold;">Subject:</span></b> Re: [ncl-talk] NCL install into Cygwin<br></font></div><br>Dear Mark,<br><br>In the future, please post NCL installation questions to <a rel="nofollow" ymailto="mailto:ncl-install@ucar.edu" target="_blank" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a> (<a rel="nofollow" target="_blank"
 href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a>).<br><br>It looks like your NCARG_ROOT environment variable
 is not set, or is not set correctly. For information on setting NCARG_ROOT, read:<br><br>http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT<br><br>--Mary<br><br>On Sep 10, 2012, at 2:27 AM, Mark Chan wrote:<br><br>&gt; <br>&gt; Dear NCL developer,<br>&gt; <br>&gt; I have installed Cygwin into my MS windows and also intall NCL into it. However, when I do a run test, got the error message as below.<br>&gt; I found I don"t have "ncarg" folder in the path as "$NCARG_ROOT/lib/ncarg". Could you please give some suggestion?<br>&gt; <br>&gt; Thanks a lot!<br>&gt; Mark <br>&gt; <br>&gt; -------NCL run test-------------------------------------------<br>&gt; $ ncl map_only_1.ncl<br>&gt;&nbsp; Copyright (C) 1995-2011 - All Rights Reserved<br>&gt;&nbsp; University Corporation for Atmospheric Research<br>&gt;&nbsp; NCAR Command Language Version 6.0.0<br>&gt;&nbsp; The use of this software is governed by a License Agreement.<br>&gt;&nbsp; See
 http://www.ncl.ucar.edu/ for more details.<br>&gt; warning:Unable to Get System Resource File Name?<br>&gt; warning:Unable to load System Resource File (null)<br>&gt; fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory<br>&gt; warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL<br>&gt; fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory<br>&gt; warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL<br>&gt; warning:Unable to Get System Resource File Name?<br>&gt; warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]<br>&gt; NDV_COLORMAP_PATH environment variable not set:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; defaulting to .:$NCARG_ROOT/lib/ncarg/colormaps<br>&gt; warning:["Palette.c":1527]:NhlLoadColormapFiles: Invalid directory encountered in colormap path specification<br>&gt;
 fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)<br>&gt; fatal:error at line 9 in file map_only_1.ncl<br>&gt; <br>&gt; ---------NCL code-------------<br>&gt; ;================================================;<br>&gt; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>&gt; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>&gt; ; ================================================;<br>&gt; begin<br>&gt; <br>&gt;&nbsp; wks&nbsp; = gsn_open_wks("ps","maponly")&nbsp; &nbsp; ; open a ps file<br>&gt;&nbsp; plot = gsn_csm_map_ce(wks,False)&nbsp; &nbsp; &nbsp; &nbsp; ; draw global map<br>&gt; <br>&gt;&nbsp; end<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; From: Mark Chan &lt;<a rel="nofollow" ymailto="mailto:cym263@yahoo.com" target="_blank" href="mailto:cym263@yahoo.com">cym263@yahoo.com</a>&gt;<br>&gt; Subject: NCL install into Cygwin<br>&gt; Date: September 8, 2012 7:33:19 PM MDT<br>&gt; To: "<a rel="nofollow"
 ymailto="mailto:ncl-install@ucar.edu" target="_blank" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>" &lt;<a rel="nofollow" ymailto="mailto:ncl-install@ucar.edu" target="_blank" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>&gt;<br>&gt; Reply-To: Mark Chan &lt;<a rel="nofollow" ymailto="mailto:cym263@yahoo.com" target="_blank" href="mailto:cym263@yahoo.com">cym263@yahoo.com</a>&gt;<br>&gt; <br>&gt; <br>&gt; Dear NCL developer,<br>&gt; <br>&gt; I have installed Cygwin into my MS windows and also intall NCL into it. However, when I do a run test, got the error message as below.<br>&gt; I found I don"t have "ncarg" folder in the path as "$NCARG_ROOT/lib/ncarg". Could you please give some suggestion?<br>&gt; <br>&gt; Thanks a lot!<br>&gt; Mark <br>&gt; <br>&gt; -------NCL run test-------------------------------------------<br>&gt; $ ncl map_only_1.ncl<br>&gt;&nbsp; Copyright (C) 1995-2011 - All Rights Reserved<br>&gt;&nbsp;
 University Corporation for Atmospheric Research<br>&gt;&nbsp; NCAR Command Language Version 6.0.0<br>&gt;&nbsp; The use
 of this software is governed by a License Agreement.<br>&gt;&nbsp; See <a rel="nofollow" target="_blank" href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/</a> for more details.<br>&gt; warning:Unable to Get System Resource File Name?<br>&gt; warning:Unable to load System Resource File (null)<br>&gt; fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory<br>&gt; warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL<br>&gt; fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory<br>&gt; warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL<br>&gt; warning:Unable to Get System Resource File Name?<br>&gt; warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]<br>&gt; NDV_COLORMAP_PATH environment variable not set:<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; defaulting to
 .:$NCARG_ROOT/lib/ncarg/colormaps<br>&gt; warning:["Palette.c":1527]:NhlLoadColormapFiles: Invalid directory encountered in colormap path specification<br>&gt; fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)<br>&gt; fatal:error at line 9 in file map_only_1.ncl<br>&gt; <br>&gt; ---------NCL code-------------<br>&gt; ;================================================;<br>&gt; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>&gt; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>&gt; ; ================================================;<br>&gt; begin<br>&gt; <br>&gt;&nbsp; wks&nbsp; = gsn_open_wks("ps","maponly")&nbsp; &nbsp; ; open a ps file<br>&gt;&nbsp; plot = gsn_csm_map_ce(wks,False)&nbsp; &nbsp; &nbsp; &nbsp; ; draw global map<br>&gt; <br>&gt;&nbsp; end<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; ncl-talk mailing list<br>&gt; List instructions,
 subscriber options, unsubscribe:<br>&gt; <a rel="nofollow" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br><br><br><br></div></div></div></div><br><br> </div> </div>  </div></body></html>