WXP
Linux Installation

Local System Preparation

Creating the WXP Account

Before downloading the WXP software, it is advisable to setup a WXP user account for managing WXP. A WXP group should be set up as well if it's not created when the account is created. This is done primarily for permissions on the files to prevent users from inadvertently overwriting or modifying files and settings. The WXP account will have a password, and a home directory assigned to it.

Disk space requirements

Here is a planning sheet for disk space requirements for WXP

File Type Disk Space Required Comments
WXP binaries and database files 40 MB yes
Text data 20GB no Depends on amount of data
Model data 100GB no Depends on amount of data
Radar data 20GB no Depends on sites
Satellite data 200GB no Depends on amount of data

Directory structure

The WXP programs themselves will not take up much disk space but the data will. Therefore, it is necessary to make sure enough disk space is available. Second, the documentation assumes a regular directory structure. The files may be placed under the wxp home directory /home/wxp or in /usr/local/wxp.  The documentation will list "/home/wxp" in all examples but other directory setups can be used as well.

Once the root directory for WXP is established, it is recommended to create the following directory structure:

Directory Contents
/home/wxp/bin Contains the binary executable files for WXP
/home/wxp/lib Contains the shared and static libraries for WXP. Add this directory to the LD_LIBRARY_PATH environment variable.
/home/wxp/etc Contains database files used by WXP
/home/wxp/scripts Contains scripts to run WXP programs
/home/wxp/include/WXP Contains the WXP include files if using WXP 6 API
/home/wxp/data
/home/wxp/text
/home/wxp/model
/home/wxp/sat
/home/wxp/radar
Sample data directories. Multiple directories are set up for better organization of data.
/home/wxp/convert
/home/wxp/grid
/home/wxp/raw
/home/wxp/images
WXP converted/decoded/output files.

Network configuration

When using WXP in a network setup, the binaries and database files are typically placed in a standard location such as /usr/local/wxp/bin and /usr/local/wxp/etc. The shared libraries should go into /usr/local/lib. Add the "bin" directory to each user's PATH. Set the LD_LIBRARY_PATH environment variable to point to the location of the shared libraries

Network data server

Typically, when ingesting data over a network, a central data repository is set up where the data ingestor runs. It is recommended to setup up a large data partition where the data can be stored for multiple days. It is recommended to sort data by source:

Directory Contents
/data/noaaport/data
/data/noaaport/text
/data/noaaport/model
/data/noaaport/sat
/data/noaaport/radar
NOAAPort ingested data
/data/tgftp/data
/data/tgftp/model
/data/tgftp/radar
Data downloaded from the NWS TGFTP server
/data/aws/sat
Amazon Web Data repositories

Then this directory can be NFS mounted on the local WXP system:

/data remote -> /mnt/data local

Make sure the file permissions are set up so that remote users can read the files.