[SciPy-User] MODIS data and true-color plotting

Arnaldo Russo arnaldorusso@gmail....
Sun Nov 13 14:27:28 CST 2011

Hi Gökhan,

Try to use "pyhdf"

wget -c http://ufpr.dl.sourceforge.net/project/pysclint/pyhdf/0.8.3/pyhdf
tar zxvf pyhdf-0.8.3.tar.gz
cd pyhdf-0.8.3/
sudo apt-get  install libhdf4-dev
sudo apt-get  install python2.6-dev
cd pyhdf
sudo apt-get install swig
swig -python hdfext.i
cd ..
export INCLUDE_DIRS=/usr/include/hdf
export LIBRARY_DIRS=/usr/lib
export NOSZIP=1
python setup.py install

May be you could use h4toh5 and use pytables.

2 - I'm trying to get ocean color variables through pyhdf package, but I'm
still working on.
If you have any advance, post here your feedback, please.


*Arnaldo D'Amaral Pereira Granja Russo*
Lab. de Estudos dos Oceanos e Clima
Instituto de Oceanografia
Universidade Federal do Rio Grande
e-mail arnaldorusso [at] gmail [dot] com
tel   (53) 3233-6855

2011/11/13 Gökhan Sever <gokhansever@gmail.com>

> Hello groups,
> I have two questions about working with MODIS data.
> 1-) Is there any light Pythonic HDF-EOS wrapper to handle HDF-EOS data
> other than PyNIO [http://www.pyngl.ucar.edu/Nio.shtml] Although, I have
> managed to install that package from its source, it took me many hours to
> figure out all the installation quirks. Something simpler to build and
> mainly for HDFEOS data??
> 2-) Another similar question: Has anybody attempted to create true-color
> MODIS images (like the ones shown at [
> http://rapidfire.sci.gsfc.nasa.gov/realtime/]) in Python? So far, I have
> seen one clear tutorial [
> ftp://ftp.ssec.wisc.edu/pub/IMAPP/MODIS/TrueColor/] to create natural
> color images, but uses ms2gt [http://nsidc.org/data/modis/ms2gt/], NDVI
> and IDL. Except the reflectance correction via NDVI, ms2gt and IDL parts
> seem to be implemented in Python.
> Till now, I have some progress combining GOES imagery with aircraft data.
> My next task is to combine MODIS data with aircraft and radar data. I would
> be happy to get some guidance and code support if there is any previous
> work been done using Python.
> Thanks.
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20111113/0e888be1/attachment-0001.html 

More information about the SciPy-User mailing list