[gdal-dev] gdal_translate and modis ocean HDFs
Nikolaos Hatzopoulos
nhatzop at gmail.com
Mon Dec 20 16:52:10 EST 2010
Could you please send me what you have when you do gdalinfo yourfiles.hdf
On Mon, Dec 20, 2010 at 9:55 AM, Gustavo <gmpuljak at yahoo.com.ar> wrote:
> Hi Nikolaos,
>
> sorry for the delay in answering. I've tried your suggestion but the error
> is
> the same.
>
> Gustavo
>
> On Vie 03 Dic 2010 15:03:04 usted escribió:
> > gdal_translate -of GTiff
> > 'HDF4_SDS:UNKNOWN:"A20100252010032.L3m_8D_CHL_chlor_a_9km":0' test.tif
> >
> > see if that works
> > you need this : '
> >
> > On Fri, Dec 3, 2010 at 6:56 AM, Gustavo <gmpuljak at yahoo.com.ar> wrote:
> > > 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
> > > _______________________________________________
> > > gdal-dev mailing list
> > > gdal-dev at lists.osgeo.org
> > > http://lists.osgeo.org/mailman/listinfo/gdal-dev
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101220/aff68574/attachment.html
More information about the gdal-dev
mailing list