<DIV><FONT color="#008000" size="2" face="Verdana">I want to translate the hdf4 to tif ,and use the grass to conert this tif to its own format, then I can contiune my next work, I use the FWTools2.2.8 (which is installed in the F disk.)to handle this,after config the environment ,I run the command "gdalinfo d:\data\HDF\MOD02HKM.A2008275.0245.005.2008275112555.hdf", it worked , the key inofrmation is :</FONT></DIV>
<DIV><FONT color="#008000" size="2" face="Verdana">===============</FONT></DIV>
<DIV><FONT color="#008000" size="2" face="Verdana">................</FONT></DIV>
<DIV><FONT color="#008000" size="2" face="Verdana">................</FONT></DIV>
<DIV><FONT size="2" face="Times New Roman">Subdatasets:<BR>&nbsp; SUBDATASET_1_NAME=HDF4_EOS:EOS_SWATH:"D:\data\HDF\MOD02HKM.A2008275.0245.005.2008275112555.hdf":MODIS_SWATH_Type_L1B:EV_500_RefSB<BR>&nbsp; SUBDATASET_1_DESC=[5x4060x2708] EV_500_RefSB MODIS_SWATH_Type_L1B (16-bit unsigned integer)<BR>&nbsp; SUBDATASET_2_NAME=HDF4_EOS:EOS_SWATH:"D:\data\HDF\MOD02HKM.A2008275.0245.005.2008275112555.hdf":MODIS_SWATH_Type_L1B:EV_500_RefSB_Uncert_Indexes<BR>&nbsp; SUBDATASET_2_DESC=[5x4060x2708] EV_500_RefSB_Uncert_Indexes MODIS_SWATH_Type_L1B (8-bit unsigned integer)<BR>&nbsp; SUBDATASET_3_NAME=HDF4_EOS:EOS_SWATH:"D:\data\HDF\MOD02HKM.A2008275.0245.005.2008275112555.hdf":MODIS_SWATH_Type_L1B:EV_250_Aggr500_RefSB<BR>&nbsp; SUBDATASET_3_DESC=[2x4060x2708] EV_250_Aggr500_RefSB MODIS_SWATH_Type_L1B (16-bit unsigned integer)<BR>&nbsp; SUBDATASET_4_NAME=HDF4_EOS:EOS_SWATH:"D:\data\HDF\MOD02HKM.A2008275.0245.005.2008275112555.hdf":MODIS_SWATH_Type_L1B:EV_250_Aggr500_RefSB_Uncert_Indexes<BR>&nbsp; SUBDATASET_4_DESC=[2x4060x2708] EV_250_Aggr500_RefSB_Uncert_Indexes MODIS_SWATH_Type_L1B (8-bit unsigned integer)<BR>&nbsp; SUBDATASET_5_NAME=HDF4_EOS:EOS_SWATH:"D:\data\HDF\MOD02HKM.A2008275.0245.005.2008275112555.hdf":MODIS_SWATH_Type_L1B:EV_250_Aggr500_RefSB_Samples_Used<BR>&nbsp; SUBDATASET_5_DESC=[2x4060x2708] EV_250_Aggr500_RefSB_Samples_Used MODIS_SWATH_Type_L1B (8-bit integer)</FONT></DIV>
<DIV><FONT color="#008000" size="2" face="Verdana">===============</FONT></DIV>
<DIV><FONT color="#008000" size="2" face="Verdana">and now (for example )I want to get the subdataset 4,and translate it to geotiff,before run the gdal_translate I run the gdalinfo again to get the information of it:"</FONT></DIV>
<DIV><FONT color="#008000" size="2" face="Verdana">gdalinfo <FONT color="#000000" face="Times New Roman">HDF4_EOS:EOS_SWATH:"D:\data\HDF\MOD02HKM.A2008275.0245.005.2008275112555.hdf":MODIS_SWATH_Type_L1B:EV_250_Aggr500_RefSB_Uncert_Indexes</FONT>"</FONT></DIV>
<DIV><FONT color="#008000" size="2" face="Verdana">I got the error messages as follows:</FONT></DIV>
<DIV><FONT color="#008000" size="2" face="Verdana">========================</FONT></DIV>
<DIV><FONT size="2" face="Times New Roman">C:\Documents and Settings\Administrator&gt;gdalinfo HDF4_EOS:EOS_SWATH:"D:\data\HDF\MOD02HKM.A2008275.0245.005.2008275112555.hdf":MODIS_SWATH_Type_L1B:EV_250_Aggr500_RefSB_Uncert_Indexes<BR>ERROR 4: `HDF4_EOS:EOS_SWATH:D:\data\HDF\MOD02HKM.A2008275.0245005.2008275112555.hdf:MODIS_SWATH_Type_L1B:EV_250_Aggr500_RefSB_Uncert_Indexes' does not exist in the file system,and is not recognised as a supported dataset name.</FONT></DIV>
<DIV><FONT size="2" face="Times New Roman">gdalinfo failed - unable to open 'HDF4_EOS:EOS_SWATH:D:\data\HDF\MOD02HKM.A2008275.0245.005.20082751<BR>12555.hdf:MODIS_SWATH_Type_L1B:EV_250_Aggr500_RefSB_Uncert_Indexes'.<BR>Open GDAL Datasets:<BR>&nbsp; 1 N DriverIsNULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1 512x512x0</FONT></DIV>
<DIV><FONT color="#008000" size="2" face="Verdana">========================</FONT></DIV>
<DIV><FONT color="#008000" size="2" face="Verdana">I want to know why?and if I put the hdf data under the F:\anzhuang\FWTools 2.2.8\bin, I can get the correct result......</FONT><BR></DIV>