[Gdal-dev] gdal_translate
Andrey Kiselev
dron at ak4719.spb.edu
Thu Oct 23 16:03:12 EDT 2003
On Thu, Oct 23, 2003 at 09:06:55AM -0600, David.Hildebrand at gov.ab.ca wrote:
> I have done all the right things (I think) and yet I get no error message
> to the console and no output file with the following command:
>
> Z:\modis>X:\downloads\gdal\openev_fw\bin\gdal_translate.exe -b 1
> HDF4_SDS:MODIS_L1B:"MOD021KM.A2003169.1845.004.2003170123719.hdf":2
> out.tif
>
> I am in the directory of the HDF file. The executable is in another
> directory. I want to extract the first band from the MODIS file. The
> output from gdalinfo is attached.
Looks as all going right... I can't realize whats wrong. Try to set
environmental variable CPL_DEBUG=ON before gdal_translate. It will
enable additional debug output. And gdalinfo results on requested
subdataset (i.e.
HDF4_SDS:MODIS_L1B:"MOD021KM.A2003169.1845.004.2003170123719.hdf":2)
will be good as well.
Andrey
--
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517
More information about the Gdal-dev
mailing list