Re: NCL install into Cygwin

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Sep 11 2012 - 14:08:41 MDT

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@yahoo.com>
> Subject: NCL install into Cygwin
> Date: September 8, 2012 7:33:19 PM MDT
> To: "ncl-install@ucar.edu" <ncl-install@ucar.edu>
> Reply-To: Mark Chan <cym263@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-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Sep 11 14:08:50 2012

This archive was generated by hypermail 2.1.8 : Tue Sep 11 2012 - 15:30:41 MDT