Hi All, I must extract from a HDF MOD03 file the subdatasets of latitude and longitude. if I open the image with ENVI, in the list of subdatasets, I read this list:
Latitude Longitude Height SensorZenith SensorAzimuth Range SolarZenith SolarAzimuth Land/SeaMask gflags instead the command gdalinfo shows this list of subdatasets: Subdatasets: SUBDATASET_1_NAME=HDF4_EOS:EOS_SWATH:"MOD03.A2006159.1045.005.2008113013452.hdf":MODIS_Swath_Type_GEO:Height SUBDATASET_1_DESC=[2030x1354] Height MODIS_Swath_Type_GEO (16-bit integer) SUBDATASET_2_NAME=HDF4_EOS:EOS_SWATH:"MOD03.A2006159.1045.005.2008113013452.hdf":MODIS_Swath_Type_GEO:SensorZenith SUBDATASET_2_DESC=[2030x1354] SensorZenith MODIS_Swath_Type_GEO (16-bit integer) SUBDATASET_3_NAME=HDF4_EOS:EOS_SWATH:"MOD03.A2006159.1045.005.2008113013452.hdf":MODIS_Swath_Type_GEO:SensorAzimuth SUBDATASET_3_DESC=[2030x1354] SensorAzimuth MODIS_Swath_Type_GEO (16-bit integer) SUBDATASET_4_NAME=HDF4_EOS:EOS_SWATH:"MOD03.A2006159.1045.005.2008113013452.hdf":MODIS_Swath_Type_GEO:Range SUBDATASET_4_DESC=[2030x1354] Range MODIS_Swath_Type_GEO (16-bit unsigned integer) SUBDATASET_5_NAME=HDF4_EOS:EOS_SWATH:"MOD03.A2006159.1045.005.2008113013452.hdf":MODIS_Swath_Type_GEO:SolarZenith SUBDATASET_5_DESC=[2030x1354] SolarZenith MODIS_Swath_Type_GEO (16-bit integer) SUBDATASET_6_NAME=HDF4_EOS:EOS_SWATH:"MOD03.A2006159.1045.005.2008113013452.hdf":MODIS_Swath_Type_GEO:SolarAzimuth SUBDATASET_6_DESC=[2030x1354] SolarAzimuth MODIS_Swath_Type_GEO (16-bit integer) SUBDATASET_7_NAME=HDF4_EOS:EOS_SWATH:"MOD03.A2006159.1045.005.2008113013452.hdf":MODIS_Swath_Type_GEO:Land/SeaMask SUBDATASET_7_DESC=[2030x1354] Land/SeaMask MODIS_Swath_Type_GEO (8-bit unsigned integer) SUBDATASET_8_NAME=HDF4_EOS:EOS_SWATH:"MOD03.A2006159.1045.005.2008113013452.hdf":MODIS_Swath_Type_GEO:gflags SUBDATASET_8_DESC=[2030x1354] gflags MODIS_Swath_Type_GEO (8-bit unsigned integer) How I can get the first and the second dataset? Thanks to all. Regards. -- Ciao, Mario [ Web Info: http://members.ferrara.linux.it/cavicchi ] _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev