[gdal-dev] gdal_translate and modis ocean HDFs

Gustavo gmpuljak at yahoo.com.ar
Fri Dec 3 09:56:29 EST 2010


Hi everyone,

I am trying to import some L3 MODIS satellite images into GRASS 6.4 by 
following the instructions from:

http://grass.osgeo.org/wiki/MODIS#Import

 I've tried method 1 but I got some error messages.

gdal_translate -a_srs "+init=epsg:4326" -a_nodata 65535 -a_ullr -180 90 180 
-90 -co "COMPRESS=PACKBITS" 
HDF4_SDS:UNKNOWN:"A20100252010032.L3m_8D_CHL_chlor_a_9km":0 prueba.tif
Input file size is 4320, 2160
0ERROR 1: SDreaddata() failed for block.
ERROR 1: IReadBlock failed at X offset 0, Y offset 0
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0

The error is the same with different files.
My system is Ubuntu 9.10 64bits.
gdal_translate --version
GDAL 1.7.2, released 2010/04/23


What can I do?
Thanks,

Gustavo Martínez


More information about the gdal-dev mailing list