Using OpenGrADS †
- For me, only for calculation of stream function and velocity potential...
- Official site: http://opengrads.org
Contents
Installation †
All examples are for grads-1.9 on Linux-PC, located at ~/GrADS.
- Save the original grads directory at somewhere else (just in case).
- Get appropriate executables from here, and copy the contents in bin directory to ~/GrADS/bin (overwrite them).
- Get appropriate extensions from here, and copy the contents in bin directory to ~/GrADS/bin (there should be no file with same name).
- 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
# be sure the opengrads command is executed
> open pgb.ctl
# example
> d fish_psi(ugrdprs,vgrdprs)
It's usual to shift the field to its global average being a zero.
> a=fish_psi(ugrdprs,vgrdprs)
> d a-aave(a,global)