Installation guide

A step-by-step instructions to follow in order to install all the required packages and tools.
Example of installation in a Debian 8 as root:
  1. as root
  2. $ su
  3. install subversion, version control packaes
  4. # apt-get install subversion
  5. install GIT, different paradigm version control
  6. # apt-get install git
  7. get python and its necessary applications
  8. # apt-get install python python-scipy python-numpy cython cython-dbg
  9. get netcdf libraries tools and applications (cdo and nco are also installed maybe not required...)
  10. # apt-get install netcdf-bin netcdf-dbg libnetcdf-dev netcdf-doc ncview cdo nco
  11. get hdf5
  12. # apt-get install libhdf5-dev
  13. install matplotlib and basemap in order to plot and drow maps
  14. # apt-get install python-matplotlib python-matplotlib-data python-matplotlib-doc python-mpltoolkits.basemap python-mpltoolkits.basemap-data
  15. install system tools (Scripts use LATEX interface for titles and labels)
  16. # apt-get install dvipng
  17. install netcdf4, python API interface to netCDF files (following https://github.com/Unidata/netcdf4-python)
  18. # git clone https://github.com/Unidata/netcdf4-python.git cd netcdf4-python/
    # python setup.py build >& run_pysetup.log
    # python setup.py install >& run_pyinstall.log
  19. Getting the scripts, no need to be root:
  20. # exit
    $ cd $HOME
    $ svn co http://svn.lmd.jussieu.fr/LMDZ_WRF/trunk/tools PyNCplot
  21. Now all the scripts are held in ${HOME}/PyNCplot. It might be desirable to set an environment variable to make life easier:
    $ export pyHOME=${HOME}/PyNCplot