Using OpenGrADS

  • For me, only for calculation of stream function and velocity potential...
  • Official site: http://opengrads.org

Installation

All examples are for grads-1.9 on Linux-PC, located at ~/GrADS.

  1. Save the original grads directory at somewhere else (just in case).
  2. Get appropriate executables from http://sourceforge.net/projects/opengrads/files/grads1/grads-1.9.0-rc1-bin-i686-pc-linux-gnu.tar.gz/download, and copy the contents in bin directory to ~/GrADS/bin (overwrite them).
  3. Get appropriate extensions from http://sourceforge.net/projects/opengrads/files/extensions/grads-1.9.0-rc1-gex-r2-i686-pc-linux-gnu.tar.gz/download, and copy the contents in bin directory to ~/GrADS/bin (there should be no file with same name).
  4. Set environmental variables as follows:
    GAUDXT=$HOME/GrADS/bin/gex/udxt
    LD_LIBRARY_PATH=$HOME/GrADS/bin/gex:$LD_LIBRARY_PATH

Drawing stream function

$ gradsnc
> open pgb.ctl (example)
> d fish_psi(ugrdprs,vgrdprs)