All,
Happy New Year, everyone!
I just posted some PyGrADS screenshots on sf.net:
http://sourceforge.net/project/screenshots.php?group_id=161773
Each of these figures takes just a few lines of code, e.g.,
sat = Image.open("goes_fulldisk.jpg")
ga.basemap('geos', opts=-75.)
ga.imshow('duexttau',cmap=gacm.hot_l)
title("Mineral Dust Optical Thickness")
I have added a derived classes named GaLab which interfaces GrADS to
PyLab/Matplotlib. To install PyGrADS:
gacvs co -P contrib
cd contrib/interfaces/python
python setup.py install
(If you have installed a previous version, uninstall it first as "grads" is
now a python *package*, no longer a single module.)
if you have su privileges, or else specify --prefix at the *end* to install
on a local disk. You may want to run the examples:
cd examples/
./galab_examples.py
(go get a cup of coffee...)
animate -delay 300 *.png
In addition to python proper, you must have
NumPy
Matplotlib
Basemap (toolkit of Matplotlib)
Notice that SciPy is no longer required.
The PyGrADS doc on the wiki still needs update, though.
Arlindo
--
Arlindo da Silva
da...@al...
|