Re: [gdal-dev] Reading Modis level1b HDF4 data

2010-02-26 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ivan, Ivan skrev: > Martin, >> Try to use gdal.Open() on a subdataset and then call GetRasterBand(), >> example: > >> dataset = >> gdal.Open('HDF4_EOS:EOS_SWATH:"/local_disk/data/satellite/terra/MOD021KM.A2005161.0920.005.2005161194747.hdf":MODIS_

Re: [gdal-dev] Reading Modis level1b HDF4 data

2010-02-26 Thread Ivan
Martin, Martin Raspaud wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to access Modis data (Terra) with gdal through the python API. I'm following the gdal tutorial http://www.gdal.org/gdal_tutorial.html, but get stuck at the rasterband reading part, with an error: Traceb

[gdal-dev] Reading Modis level1b HDF4 data

2010-02-26 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to access Modis data (Terra) with gdal through the python API. I'm following the gdal tutorial http://www.gdal.org/gdal_tutorial.html, but get stuck at the rasterband reading part, with an error: Traceback (most recent call last): Fi