[Gdal-dev] gdal_translate - hdf translator
David.Hildebrand at gov.ab.ca
David.Hildebrand at gov.ab.ca
Fri Oct 24 10:08:22 EDT 2003
After I set "CPL_DEBUG=ON" my output was as follows:
HDF4Image: aiDimSizes[0]=15, aiDimSizes[1]=2030, aiDimSizes[2]=1354,
aiDimSizes[3]=0
HDF4Image: Input dataset interpreted as MODIS_L1B
-----------------------------------------------
David V. Hildebrand
Conservation and Development Branch
Alberta Agriculture, Food and Rural Development
(780) 427-3558
Andrey Kiselev <dron at ak4719.spb.edu>
Sent by: gdal-dev-admin at remotesensing.org
10/23/2003 02:03 PM
Please respond to gdal-dev
To: gdal-dev at remotesensing.org
cc:
Subject: Re: [Gdal-dev] gdal_translate
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
_______________________________________________
Gdal-dev mailing list
Gdal-dev at remotesensing.org
http://remotesensing.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20031024/66084433/attachment.html
More information about the Gdal-dev
mailing list