How to install Ncview: a NetCDF visual browserΒΆ

Download Ncview from:

http://meteora.ucsd.edu/~pierce/ncview_home_page.html

Uncompress it:

tar -zxvf ncview-2.1.2.tar.gz

Install some required libraries (already installed on model machine):

yum install gcc
yum install libX11-devel.x86_64
yum install Xaw3d-devel-1.5E-15.1.el6.x86_64
yum install libpng-devel-1.2.49-1.el6_2.x86_64

Try to configure ncview::

./configure --prefix=/opt/ncview/2.1.2

If configure script is complaining about Athena Widget libraries, try to create this simbolic link in /usr/include/X11:

ln -s cd /usr/include/X11/Xaw3d/ cd /usr/include/X11/Xaw

Finally, try to display a NetCDF file (you must have an X11 session enabled/exported):

/opt/ncview/2.1.2/bin/ncview [path to NetCDF file]