<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> </div>
<div style=""><span style="">I would like to use NCL in cygwin. I want to 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> </div>
<div style=""><span style="">With my best regards,</span></div>
<div style=""><span style="">Mark </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 <haley@ucar.edu><var id="yiv742360710yui-ie-cursor"></var><br><b><span style="FONT-WEIGHT:bold;">To:</span></b> Mark Chan <cym263@yahoo.com> <br><b><span style="FONT-WEIGHT:bold;">Cc:</span></b> NCL Helpline <ncl-talk@ucar.edu> <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>> <br>> Dear NCL developer,<br>> <br>> 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>> I found I don"t have "ncarg" folder in the path as "$NCARG_ROOT/lib/ncarg". Could you please give some suggestion?<br>> <br>> Thanks a lot!<br>> Mark <br>> <br>> -------NCL run test-------------------------------------------<br>> $ ncl map_only_1.ncl<br>> Copyright (C) 1995-2011 - All Rights Reserved<br>> University Corporation for Atmospheric Research<br>> NCAR Command Language Version 6.0.0<br>> The use of this software is governed by a License Agreement.<br>> See
http://www.ncl.ucar.edu/ for more details.<br>> warning:Unable to Get System Resource File Name?<br>> warning:Unable to load System Resource File (null)<br>> fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory<br>> warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL<br>> fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory<br>> warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL<br>> warning:Unable to Get System Resource File Name?<br>> warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]<br>> NDV_COLORMAP_PATH environment variable not set:<br>> defaulting to .:$NCARG_ROOT/lib/ncarg/colormaps<br>> warning:["Palette.c":1527]:NhlLoadColormapFiles: Invalid directory encountered in colormap path specification<br>>
fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)<br>> fatal:error at line 9 in file map_only_1.ncl<br>> <br>> ---------NCL code-------------<br>> ;================================================;<br>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>> ; ================================================;<br>> begin<br>> <br>> wks = gsn_open_wks("ps","maponly") ; open a ps file<br>> plot = gsn_csm_map_ce(wks,False) ; draw global map<br>> <br>> end<br>> <br>> <br>> <br>> <br>> <br>> From: Mark Chan <<a rel="nofollow" ymailto="mailto:cym263@yahoo.com" target="_blank" href="mailto:cym263@yahoo.com">cym263@yahoo.com</a>><br>> Subject: NCL install into Cygwin<br>> Date: September 8, 2012 7:33:19 PM MDT<br>> 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" ymailto="mailto:ncl-install@ucar.edu" target="_blank" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>><br>> Reply-To: Mark Chan <<a rel="nofollow" ymailto="mailto:cym263@yahoo.com" target="_blank" href="mailto:cym263@yahoo.com">cym263@yahoo.com</a>><br>> <br>> <br>> Dear NCL developer,<br>> <br>> 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>> I found I don"t have "ncarg" folder in the path as "$NCARG_ROOT/lib/ncarg". Could you please give some suggestion?<br>> <br>> Thanks a lot!<br>> Mark <br>> <br>> -------NCL run test-------------------------------------------<br>> $ ncl map_only_1.ncl<br>> Copyright (C) 1995-2011 - All Rights Reserved<br>>
University Corporation for Atmospheric Research<br>> NCAR Command Language Version 6.0.0<br>> The use
of this software is governed by a License Agreement.<br>> See <a rel="nofollow" target="_blank" href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/</a> for more details.<br>> warning:Unable to Get System Resource File Name?<br>> warning:Unable to load System Resource File (null)<br>> fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory<br>> warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL<br>> fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory<br>> warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL<br>> warning:Unable to Get System Resource File Name?<br>> warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]<br>> NDV_COLORMAP_PATH environment variable not set:<br>> defaulting to
.:$NCARG_ROOT/lib/ncarg/colormaps<br>> warning:["Palette.c":1527]:NhlLoadColormapFiles: Invalid directory encountered in colormap path specification<br>> fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)<br>> fatal:error at line 9 in file map_only_1.ncl<br>> <br>> ---------NCL code-------------<br>> ;================================================;<br>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>> ; ================================================;<br>> begin<br>> <br>> wks = gsn_open_wks("ps","maponly") ; open a ps file<br>> plot = gsn_csm_map_ce(wks,False) ; draw global map<br>> <br>> end<br>> <br>> <br>> <br>> <br>> _______________________________________________<br>> ncl-talk mailing list<br>> List instructions,
subscriber options, unsubscribe:<br>> <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>