[GRASS-user] modis ocean and r.in.gdal

Hamish hamish_b at yahoo.com
Fri Dec 3 16:04:35 EST 2010

Gustavo wrote:
> I am using the SMI format. I've tried the following with
> the same result.

that should be right, it's the L3m SMI/HDF download, not the
BIN/HDF one.

>  gdal_translate -a_srs "+init=epsg:4326" -a_nodata 65535
> -a_ullr -180 90 180 
> 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

I'm working with this data reasonably often and I've never seen
that error, sorry. As the error is coming from GDAL maybe ask
on their mailing list? maybe someone there has a better idea.
I'm going to process some new chlorophyll-a modis data in the
next week, I'll let you know if I run into the same problem.

Eduardo Klein escribió:
> > Gustavo, are you working with the SMI/HDF product? I've just
> > run the script in grass 6.4.0 and it worked perfect. Check
> > with gdalinfo the name of the subset to process (usually
> > something like
> > HDF4_SDS:UNKNOWN:"A20101292010136.L3m_8D_SST_9":0)

good luck,

ps- it defaults to 9km, but on the ocean color website you can
tell it to download the 4km resolution too :) (but I usually get
the much smaller 9km data first and check for cloud cover, etc)


More information about the grass-user mailing list