EOL/RAF Aircraft Platform Software Product Guide

This page describes the software that has been developed for internal use and is available to outside users.

I maintain an Email list for announcing new versions of ncplot, ncpp, and xpms2d. If you would like to be added, send Email to Chris Webster.

NCAR-RAF/nimbus netCDF file conventions/format.
Examples for extracting Time from the netCDF file..

Program Descriptions

If a program is not on this page, please see the new EOL software download center. Files are being migrated there.

A sample netCDF file
The programs described below will require that you install the file libraf.tar.gz.

C++ version of libraf. ncpp and xpms2d are currently the only two C++ programs.

Averages data down to rates less than 1 sample per second (e.g. 10 second data). Reads one netCDF file (LRT only) and produces another.

Extract subset of a netCDF file and produce' another netCDF file.

Merge two NCAR/RAF datasets. Has no GUI.

Provides statistics (mean/std dev/min/max).

A skeleton program to perform your own processing.

LRT = Low RaTe. All data has been averaged to achieve 1 sample per second.
HRT = High RaTe. Variables at different rates, mostly at 25 samples per second. Rates achieved through FIR filtering.


Development platform(s)

Our primary development platform is Redhat Enterprise 5 on i386 architecture, using GNU's C/C++ compilers (g++ version 3.4.3).

ncplot, ncpp, and xpms2d have been ported to a number of Unix platforms, including MacOS. All of the programs will require editing the Makefile to suit your environment.


All the programs will require that you have installed the netCDF library from Unidata (available via anonymous ftp from ftp.unidata.ucar.edu).

We have developed a set of conventions for aircraft data; NCAR-RAF netCDF conventions.

Motif or Lesstif

For all the GUI-based programs, you will need Motif 1.2 (or greater) installed on your system. Motif is bundled with Solaris 2.4 and later in /usr/dt. Most commercial Unix boxes come with Motif. Metro Link sells Motif for Linux for $150; alternativly a group is working on a free version called Lesstif. ncplot suffers numerous cosmetic problems when used with Lesstif.

05/2009: OpenMotif is now available for free. It comes bundled with RHEL4 and RHEL5, but is not available with Fedora Core due to a license conflict. I have been able to locate some RPMS from the Stanford Music School available at pbone.net.


Making life easier (for those building from source)

The simpliest way to set things up, especially if you have to build the libraries, is to create a /home/local/raf (or something/raf). Then under this, create directories called include and lib, then untar the source here. e.g.
cd /home/local/
mkdir raf
setenv LOCAL /home/local/raf
setenv JLOCAL /home/local/raf
cd raf
mkdir lib include
uncompress ncplot.tar.gz
uncompress ncpp.tar.gz
uncompress xpms2d.tar.gz
uncompress libraf++.tar.gz
tar xf libraf++.tar
tar xf ncplot.tar
tar xf ncpp.tar
tar xf xpms2d.tar
At this point you will need to edit Makefiles, and make sure they are correct for your installation (Solaris or Linux) by commenting/uncommenting the correct section near the top.
cd libraf++
make install
cd ../ncplot
cd ../ncpp/src
cd ../../xpms2d/src

Make sure Makefiles are edited appropriatly.


For system use:
  • install binaries into /home/local/bin or wherever you put these things.
  • For personal use (e.g. no root access):
  • install binaries into ~/bin, and add ~/bin to your $PATH.
  • The following environment variables are used by the programs:

      setenv DATA_DIR         /my/data/directory
    setenv LPDEST my_printer # May already be set.
    setenv HOME ~ # Should already be set.

    Known problems


    For further information contact:

    Chris Webster
    National Center for Atmospheric Research
    EOL/Computing, Data and Software Facility
    (303) 497-1044

    email Chris Webster

    RAF Home Page | EOL Home Page | NCAR Home Page

    Last update: Tue Feb 27 10:40:04 MST 2007