[gdal-dev] again .hdf to .tif

Anja Roesel anja.roesel at zmaw.de
Thu Mar 26 11:12:02 EDT 2009


sorry i forgot to mention the error message:
>Segmentation fault





Hi list,

I am trying to convert MODIS .hdf files to .tif files (it worked with
ASTER files earlier, thats why I am now really curious).

i typed

>gdalinfo MOD021KM.A2008134.1935.005.2009071201911.hdf

result:
......
SUBDATASET_1_NAME=HDF4_EOS:EOS_SWATH:"MOD021KM.A2008134.1935.005.2009071201911.hdf":MODIS_SWATH_Type_L1B:EV_1KM_RefSB
SUBDATASET_1_DESC=[15x2030x1354] EV_1KM_RefSB (16-bit unsigned integer)
SUBDATASET_2_NAME=HDF4_EOS:EOS_SWATH:"MOD021KM.A2008134.1935.005.2009071201911.hdf":MODIS_SWATH_Type_L1B:EV_1KM_RefSB_Uncert_Indexes
SUBDATASET_2_DESC=
........

then:

>gdalwarp
HDF4_EOS:EOS_SWATH:"MOD021KM.A2008134.1935.005.2009071201911.hdf":MODIS_SWATH_Type_L1B:EV_1KM_RefSB
 modis.tif

Have you any ideas, what is the problem?
Thanks,
Anja



More information about the gdal-dev mailing list