[ncl-install] Fw: [ncl-talk] NCL install into Cygwin

Mark Chan cym263 at yahoo.com
Fri Sep 14 01:02:31 MDT 2012



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20120914/919f2371/attachment-0001.html 
-------------- next part --------------
An embedded message was scrubbed...
From: Mark Chan <cym263 at yahoo.com>
Subject: Fw: [ncl-talk] NCL install into Cygwin
Date: Thu, 13 Sep 2012 19:53:00 -0700 (PDT)
Size: 18893
Url: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20120914/919f2371/attachment-0001.mht 


More information about the ncl-install mailing list