NCAR Graphics environment variables

NCAR Graphics uses a set of environment variables to determine where each of its parts is installed, and to configure some of the runtime options.

You can execute the ncargpath program from the shell prompt to determine what values NCAR Graphics is going to use for these environment variables.

TMPDIR
This environment variable indicates what directory NCARG should use for temporary files.

Default: /tmp
NOTE: This default is configurable at compilation time, so your system administrator may have changed it.

FONTCAP
This environment variable indicates the default fontcap to use for ctrans.

Default: pwritex database

GRAPHCAP
This environment variable is used to select the graphcap for ctrans to use.

Default: none
If this environment variable is not set, then command line flags must be used.

NCARG_GKS_OUTPUT
This environment variable is used to indicate the default name of the metafile the ncgm workstation outputs to.

Default: gmeta

NCARG_USRRESFILE
This environment variable is used to specify the user's HLU resource file. This file can be used to specify resources for all HLU programs.

Default: ~/.hluresfile
NOTE: This default is configurable at compilation time, so your system administrator may have changed it.

The rest of the environment variables indicate where different portions of NCAR Graphics are installed. In most cases, only the NCARG_ROOT environment variable needs to be specified. All the other variables will be determined from it.
NCARG_ROOT
This environment variable is used to indicate where the "root" of the NCARG install tree is. If things are installed properly, most of the other environment variables are determined relative to the value of this variable.

Default: /usr/local
NOTE: This default is configurable at compilation time, so your system administrator may have changed it.

NCARG_BIN
This environment variable is used to indicate the location of the "bin" directory in the NCARG install tree.

Default: $(NCARG_ROOT)/bin

NCARG_MAN
This environment variable is used to indicate the location of the "man" pages in the NCARG install tree.

Default: $(NCARG_ROOT)/man

NCARG_INCLUDE
This environment variable is used to indicate where the NCAR Graphics "include" files are installed.

Default: $(NCARG_ROOT)/include

NCARG_LIB
This environment variable is used to indicate where the NCAR Graphics libraries are installed.

Default: $(NCARG_ROOT)/lib

NCARG_NCARG
This environment variable is used to indicate the locations of the NCAR Graphics examples, databases, resource files, and so on.

Default: $(NCARG_LIB)/ncarg

NCARG_CONFIG
This environment variable is used to indicate where the NCAR Graphics config files are installed. (These config files are only installed if NCAR Graphics is installed from source, they are not needed for a binary installation.)

Default: $(NCARG_NCARG)/config

NCARG_DATABASE
This environment variable is used to indicate where the NCAR Graphics database files are installed. (Map databases etc.)

Default: $(NCARG_NCARG)/database

NCARG_DATA
This environment variable is used to indicate where the data files for the NCAR Graphics HLU and NCL examples are installed.

Default: $(NCARG_NCARG)/data

NCARG_FONTCAPS
This environment variable is used to indicate where the NCAR Graphics fontcaps are installed.

Default: $(NCARG_NCARG)/fontcaps

NCARG_GRAPHCAPS
This environment variable is used to indicate where the NCAR Graphics graphcaps are installed.

Default: $(NCARG_NCARG)/graphcaps

NCARG_HLUEX
This environment variable is used to indicate where the NCAR Graphics C and Fortran HLU examples are installed.

Default: $(NCARG_NCARG)/hluex

NCARG_NCLEX
This environment variable is used to indicate where the NCAR Graphics NCL examples are installed.

Default: $(NCARG_NCARG)/nclex

NCARG_RESFILES
This environment variable is used to indicate where the resource files for the NCAR Graphics NCL and HLU examples are installed.

Default: $(NCARG_NCARG)/resfiles

NCARG_EXAMPLES
This environment variable is used to indicate where the NCAR Graphics LLU examples are installed.

Default: $(NCARG_NCARG)/examples

NCARG_TESTS
This environment variable is used to indicate where the NCAR Graphics LLU test examples are installed.

Default: $(NCARG_NCARG)/tests

NCARG_TUTORIAL
This environment variable is used to indicate where the NCAR Graphics LLU tutorial examples are installed.

Default: $(NCARG_NCARG)/tutorial

NCARG_XAPP
This environment variable is used to indicate where the NCAR Graphics X application resource files are installed.

Default: $(NCARG_NCARG)/xapp

NCARG_SYSRESFILE
This environment variable is used to indicate where the NCAR Graphics HLU resource file is installed.

Default: $(NCARG_NCARG)/sysresfile

NCARG_SYSAPPRES
This environment variable is used to indicate where the NCAR Graphics HLU Application resource files are installed.

Default: $(NCARG_NCARG)/sysappres


Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?


$Revision: 1.6 $ $Date: 1998/06/15 21:25:42 $