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
NCAR-RAF/nimbus netCDF file conventions/format.
Examples for extracting Time from the netCDF file..
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
- 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.
- Our primary development platform is Redhat Enterprise 5 on i386 architecture,
using GNU's C/C++ compilers (g++
- 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
(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.
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.
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.
setenv LOCAL /home/local/raf
setenv JLOCAL /home/local/raf
mkdir lib include
tar xf libraf++.tar
tar xf ncplot.tar
tar xf ncpp.tar
tar xf xpms2d.tar
Make sure Makefiles are edited appropriatly.
For system use:
For personal use (e.g. no root access):
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.
- Fedora Core 5 (and higher?) : setenv XKEYSYMDB /usr/share/X11/XKeysymDB
- If the menu and button text shows up as squares, then some fonts are missing.
'yum install "xorg-x11-fonts*"' should solve the problem. We have noticed this on
Fedora 9 and 10.
- I have compiled ncplot, ncpp and xpms2d with
Lesstif 0.90. All three appear to work well, with some minor
cosmetic problems (ncplot's variable list widget expands in width, make the
window wider and the buttons remain visible).
For further information contact:
email Chris Webster
National Center for Atmospheric Research
EOL/Computing, Data and Software Facility
RAF Home Page |
EOL Home Page |
NCAR Home Page
Tue Feb 27 10:40:04 MST 2007