<br><font size=2 face="sans-serif">After I set "CPL_DEBUG=ON" my output was as follows:</font>
<br>
<br><font size=2 face="sans-serif">HDF4Image: aiDimSizes[0]=15, aiDimSizes[1]=2030, aiDimSizes[2]=1354, aiDimSizes[3]=0</font>
<br><font size=2 face="sans-serif">HDF4Image: Input dataset interpreted as MODIS_L1B</font>
<br>
<br><font size=2 face="sans-serif"><br>
-----------------------------------------------<br>
David V. Hildebrand<br>
Conservation and Development Branch<br>
Alberta Agriculture, Food and Rural Development<br>
(780) 427-3558<br>
<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Andrey Kiselev <dron@ak4719.spb.edu></b></font>
<br><font size=1 face="sans-serif">Sent by: gdal-dev-admin@remotesensing.org</font>
<p><font size=1 face="sans-serif">10/23/2003 02:03 PM</font>
<br><font size=1 face="sans-serif">Please respond to gdal-dev</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To: gdal-dev@remotesensing.org</font>
<br><font size=1 face="sans-serif"> cc: </font>
<br><font size=1 face="sans-serif"> Subject: Re: [Gdal-dev] gdal_translate</font></table>
<br>
<br>
<br><font size=2 face="Courier New">On Thu, Oct 23, 2003 at 09:06:55AM -0600, David.Hildebrand@gov.ab.ca wrote:<br>
> I have done all the right things (I think) and yet I get no error message <br>
> to the console and no output file with the following command:<br>
> <br>
> Z:\modis>X:\downloads\gdal\openev_fw\bin\gdal_translate.exe -b 1 <br>
> HDF4_SDS:MODIS_L1B:"MOD021KM.A2003169.1845.004.2003170123719.hdf":2 <br>
> out.tif<br>
> <br>
> I am in the directory of the HDF file. The executable is in another <br>
> directory. I want to extract the first band from the MODIS file. The <br>
> output from gdalinfo is attached.<br>
<br>
Looks as all going right... I can't realize whats wrong. Try to set<br>
environmental variable CPL_DEBUG=ON before gdal_translate. It will<br>
enable additional debug output. And gdalinfo results on requested<br>
subdataset (i.e.<br>
HDF4_SDS:MODIS_L1B:"MOD021KM.A2003169.1845.004.2003170123719.hdf":2)<br>
will be good as well.<br>
<br>
Andrey<br>
<br>
-- <br>
Andrey V. Kiselev<br>
Home phone: +7 812 5274898 ICQ# 26871517<br>
_______________________________________________<br>
Gdal-dev mailing list<br>
Gdal-dev@remotesensing.org<br>
http://remotesensing.org/mailman/listinfo/gdal-dev<br>
</font>
<br>
<br>