Fw: [ncl-talk] NCL install into Cygwin

From: Mark Chan <cym263_at_nyahnyahspammersnyahnyah>
Date: Fri Sep 14 2012 - 01:02:31 MDT

attached mail follows:


Dear NCL developer,   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). I know this is a linux question but I would appreciate it if you could give any help.   With my best regards, Mark  ----- Forwarded Message ----- From: Mary Haley <haley_at_ucar.edu> To: Mark Chan <cym263_at_yahoo.com> Cc: NCL Helpline <ncl-talk_at_ucar.edu> Sent: Wednesday, September 12, 2012 4:08 AM Subject: Re: [ncl-talk] NCL install into Cygwin Dear Mark, In the future, please post NCL installation questions to ncl-install_at_ucar.edu (http://mailman.ucar.edu/mailman/listinfo/ncl-install). It looks like your NCARG_ROOT environment variable is not set, or is not set correctly. For information on setting NCARG_ROOT, read: http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT --Mary On Sep 10, 2012, at 2:27 AM, Mark Chan wrote: > > Dear NCL developer, > > 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. > I found I don"t have "ncarg" folder in the path as "$NCARG_ROOT/lib/ncarg". Could you please give some suggestion? > > Thanks a lot! > Mark > > -------NCL run test------------------------------------------- > $ ncl map_only_1.ncl >  Copyright (C) 1995-2011 - All Rights Reserved >  University Corporation for Atmospheric Research >  NCAR Command Language Version 6.0.0 >  The use of this software is governed by a License Agreement. >  See http://www.ncl.ucar.edu/ for more details. > 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":1527]:NhlLoadColormapFiles: Invalid directory encountered in colormap path specification > fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl) > fatal:error at line 9 in file map_only_1.ncl > > ---------NCL code------------- > ;================================================; > load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" > load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" > ; ================================================; > begin > >  wks  = gsn_open_wks("ps","maponly")    ; open a ps file >  plot = gsn_csm_map_ce(wks,False)        ; draw global map > >  end > > > > > > From: Mark Chan <cym263_at_yahoo.com> > Subject: NCL install into Cygwin > Date: September 8, 2012 7:33:19 PM MDT > To: "ncl-install_at_ucar.edu" <ncl-install_at_ucar.edu> > Reply-To: Mark Chan <cym263_at_yahoo.com> > > > Dear NCL developer, > > 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. > I found I don"t have "ncarg" folder in the path as "$NCARG_ROOT/lib/ncarg". Could you please give some suggestion? > > Thanks a lot! > Mark > > -------NCL run test------------------------------------------- > $ ncl map_only_1.ncl >  Copyright (C) 1995-2011 - All Rights Reserved >  University Corporation for Atmospheric Research >  NCAR Command Language Version 6.0.0 >  The use of this software is governed by a License Agreement. >  See http://www.ncl.ucar.edu/ for more details. > 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":1527]:NhlLoadColormapFiles: Invalid directory encountered in colormap path specification > fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl) > fatal:error at line 9 in file map_only_1.ncl > > ---------NCL code------------- > ;================================================; > load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" > load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" > ; ================================================; > begin > >  wks  = gsn_open_wks("ps","maponly")    ; open a ps file >  plot = gsn_csm_map_ce(wks,False)        ; draw global map > >  end > > > > > _______________________________________________ > ncl-talk mailing list > List instructions, subscriber options, unsubscribe: > http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Fri Sep 14 01:02:44 2012

This archive was generated by hypermail 2.1.8 : Fri Sep 21 2012 - 16:25:08 MDT