This document contains lists of all of the environment variables
used by the NCWF-2 system.
Environment Variables Used for Building NCWF-2
| Variable |
Original Value |
Description |
| $HOST_OS |
LINUX_RH6 |
Indicates the OS being used for the builds.
This allows the software to perform host-specific tasks, like byte-swapping,
appropriately.
The RAP software currently supports the following $HOST_OS values:
- AIX
- IBM
- DECOSF1
- DEC Alpha
- HPUX
- HP
- LINUX
- Debian Linux woody
- LINUX_IL6
- Debian Linux potato
- LINUX_RH6
- RedHat Linux 7.x
- SUNOS4
- Sun BDS
-
- SUNOS5
- Solaris
|
| $INSTALL |
$HOME/rap |
Top-level directory for installing things in the build.
|
| $NCWF_SRC_DIR |
$HOME/ncwf2 |
Directory containing the source code for the executables used in
the system.
|
| $RAP_BIN_DIR |
$INSTALL/bin |
Directory where executables will be installed when a "make install" command
is used.
|
| $RAP_INC_DIR |
$INSTALL/include |
Directory where include files will be installed when a "make install" command
is used.
|
| $RAP_LIB_DIR |
$INSTALL/lib |
Directory where libraries will be installed when a "make install" command
is used.
|
| $RAP_MAKE_INC_DIR |
$WORK/make_include |
Directory where make include files are stored.
|
| $RAP_SHARED_BIN_DIR |
$INSTALL/bin |
Directory where executables will be installed when a "make install_shared"
command is used.
|
| $RAP_SHARED_INC_DIR |
$INSTALL/include |
Directory where include files will be installed when a "make install_shared"
command is used.
|
| $RAP_SHARED_LIB_DIR |
$INSTALL/lib |
Directory where libraries will be installed when a "make install_shared"
command is used.
|
| $WORK |
$HOME/ncwf2 |
Top-level directory where work files (such as source code) are stored.
|
Environment Variables Used for Navigation
| Variable |
Original Value |
Description |
| $NCWF_COLIDE_HOME |
$NCWF_PROJ_DIR/colideHome |
Directory containing start scripts and parameter files for the
Colide algorithm.
The Colide algorithm is used for detecting lines in images.
|
| $NCWF_CONTROL_HOME |
$NCWF_PROJ_DIR/control |
Directory containing all files used in controlling the operational system.
This includes control scripts, crontab files and
process lists for auto_restart.
|
| $NCWF_DATA_HOME |
$NCWF_PROJ_DIR/dataHome |
Directory containing parameter files used to create the $RAP_DATA_DIR
data tree.
Includes parameter files that are installed in this tree.
|
| $NCWF_DISTRIB_HOME |
$NCWF_PROJ_DIR/distribHome |
Directory containing start scripts and parameter files for processes
for distributing data to other organizations.
|
| $NCWF_EXTRAP_HOME |
$NCWF_PROJ_DIR/extrapHome |
Directory containing start scripts and parameter files for
extrapolation algorithm processes.
|
| $NCWF_GROWTH_HOME |
$NCWF_PROJ_DIR/growthHome |
Directory containing start scripts and parameter files for
growth algorithm processes.
|
| $NCWF_INGEST_HOME |
$NCWF_PROJ_DIR/ingestHome |
Directory containing start scripts and parameter files for processes
for retrieving data from data sources and converting it into our
internal formats.
Internally, we use Meteorological Data Volume (MDV) format for
gridded data and
Symbolic Product DataBase (SPDB) format for symbolic or point data.
|
| $NCWF_LOG_DIR |
$HOME/logs |
Directory containing log files generated by the processes.
|
| $NCWF_PROB_HOME |
$NCWF_PROJ_DIR/probHome |
Directory containing start scripts and parameter files for
the probability forecast algorithm processes.
|
| $NCWF_PROJ_DIR |
$HOME/ncwf2/projects/ncwf2 |
Main project directory.
Generally, all of the other project
directories will be subdirectories of this one, either physically
or through a link.
|
| $NCWF_STABILITY_HOME |
$NCWF_PROJ_DIR/stabilityHome |
Directory containing start scripts and parameter files for
the stability algorithm.
|
| $NCWF_TREND_HOME |
$NCWF_PROJ_DIR/trendHome |
Directory containing start scripts and parameter files for
the trending algorithm processes.
|
| $RAP_DATA_DIR |
$NCWF_PROJ_DIR/data |
All of the currently available realtime data for the system.
|
Environment Variables Used for Load Balancing
| Variable |
Original Value |
Description |
| $NCWF_COLIDE_HOST |
localhost |
Host where the Colide algorithm processes are run.
|
| $NCWF_DISTRIB_HOST |
localhost |
Host where the data distribution processes are run.
|
| $NCWF_EXTRAP_HOST |
localhost |
Host where the extrapolation algorithm processes are run.
|
| $NCWF_GROWTH_HOST |
localhost |
Host where the growth algorithm processes are run.
|
| $NCWF_INGEST_HOST |
localhost |
Host where the ingest processes are run.
|
| $NCWF_PROB_HOST |
localhost |
Host where the probability forecast algorithm processes are run.
|
| $NCWF_STABILITY_HOST |
localhost |
Host where the stability algorithm processes are run.
|
| $NCWF_TREND_HOST |
localhost |
Host where the trending algorithm processes are run.
|
Environment Variables Used at Runtime
| Variable |
Original Value |
Description |
| $DATA_MAPPER_ACTIVE |
true |
Variable which tells the processes whether or not to register datasets
with the DataMapper.
This is useful for debugging.
|
| $LDATA_FMQ_ACTIVE |
true |
Variable which tells teh processes whether to create an FMQ for
triggering other processes.
If an FMQ is used, triggers won't be lost when multiple datasets
arrive in quick succession.
|
| $MEL_BUFR_TABLES |
$NCWF_DISTRIB_HOME/tables/bufr |
Variable indicating the location of the BUFR tables.
|
| $NCWF_PROJECT |
ncwf2 |
The current NCWF project name.
This is used for putting datasets in the correct location.
|
| $PROCMAP_DIR |
$HOME/procdir |
Variable indicating the directory to use for temporary files used
by the process mapper (procmap).
|
| $PROCMAP_HOST |
localhost |
Variable indicating the host where the process mapper (procmap)
is running.
For NCWF systems, this should always be set to "localhost".
|
Note that the load balancing and navigation environment variables are
also needed by the runtime system.