packages
sudo apt-get install libproj-dev
sudo apt-get install libxt-dev
sudo apt-get install libxmu-dev
sudo apt-get install qt4-qmake
sudo apt-get install libqt4-dev
NETCDF
tar -xzf netcdf-4.3.3.1.tar.gz
cd netcdf-4.3.3.1
./configure --disable-dap
make
make check > makecheck.log
sudo make install
tar -xzf netcdf-cxx-4.2.tar.gz
cd netcdf-cxx-4.2
export LD_LIBRARY_PATH=/usr/local/lib
CPPFLAGS=-I/usr/local/include ./configure
make >& make.log
make check >& makecheck.log
sudo make install
GRIB API
tar -xzf grib_api-1.13.0.tar.gz
cd grib_api-1.13.0
CPPFLAGS=-I/usr/local/include ./configure CFLAGS="-fPIC -O2" --with-netcdf=/usr/local
make >& make.log
make check >& makecheck.log
sudo make install
EMOSLIB
wget https://software.ecmwf.int/wiki/download/attachments/44242086/libemos-4.0.0-Source.tar.gz
tar -xzf libemos-4.0.0-Source.tar.gz
mkdir build
cd build
cmake /home/conor/Code/ECMWF/EMOSLIB/libemos-4.0.0-Source
make >& make.log
make check >& makecheck.log
sudo make install
MAGICS
tar -xzf Magics-2.24.1-Source.tar.gz
mkdir build
cd build
cmake /home/conor/Code/ECMWF/MAGICS/Magics-2.24.1-Source -DENABLE_METVIEW=ON
make
MAGPLUS_HOME=/home/conor/Code/ECMWF/MAGICS/Magics-2.24.1-Source make test
sudo make install
METVIEW
tar -xzf Metview-4.5.2-Source.tar.gz
mkdir build
cd build
cmake /home/conor/Code/ECMWF/METVIEW/Metview-4.5.2-Source >& cmake.log
make >& make.log
make test
sudo make install