Dear Liping,
It looks like your NCARG_ROOT environment variable may not be set. It
needs to be set to the root directory of where the NCL software is
installed. The easiest way to determine this directory is by
typing "which ncl", and then setting NCARG_ROOT to the directory
that leads up to the "bin" directory.
For example, if "which ncl" reports "/usr/local/bin/ncl", then setenv
NCARG_ROOT to /usr/local.
The best place to do this is in the .* file in your home
directory that gets executed when you logon, like ".cshrc"
or ".tcshrc".
--Mary
On Fri, 6 May 2005, liping deng wrote:
>
>
> I have a simple question, I do not know why I can not
> using
> $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl:
>
> pircsds1:/home/gcm/ncl/CCM3/diff> ncl eof.ncl
> Copyright (C) 1995-2003 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 4.2.0.a028
> The use of this software is governed by a License
> Agreement.
> See http://ngwww.ucar.edu/ncl/ for more details.
> warning:Unable to load System Resource File
> /usr/local/ncarg/lib/ncarg/sysresfile
> warning:WorkstationClassInitialize:Unable to access
> rgb color database - named colors
> unsupported:[errno=2]:No such file or directory
> warning:["Palette.c":1533]:NhlLoadColormapFiles:
> Invalid colormap directory:
> /usr/local/ncarg/lib/ncarg/colormaps
> fatal:Could not open
> ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
>
> Thanks
> liping
>
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Sun May 08 2005 - 22:17:22 MDT