[gdal-dev] can't open HDF5 subdatasets

benbendor dor_ben2000 at hotmail.com
Sun Mar 14 22:13:49 EDT 2010


Hello:

 

I think is woking well by using GDALINFO to  open hdf5 image,like this:

   I:\gdalinfo Z_SATE_C_BAWX_20100129130049_P_FY3A_MERSI_GBAL_L1_20100129_0115
_0250M_MS.h5
Driver: HDF5/Hierarchical Data Format Release 5
Files: Z_SATE_C_BAWX_20100129130049_P_FY3A_MERSI_GBAL_L1_20100129_0115_0250M_MS.
h5
Size is 512, 512
Coordinate System is `'
Subdatasets:
  SUBDATASET_1_NAME=HDF5:"Z_SATE_C_BAWX_20100129130049_P_FY3A_MERSI_G   BAL_L1_20100129_0115_0250M_MS.h5"://BB_DN_average
SUBDATASET_1_DESC=[5x8000] //BB_DN_average (32-bit floating-point)
  SUBDATASET_2_NAME=HDF5:"Z_SATE_C_BAWX_20100129130049_P_FY3A_MERSI_GBAL_L1_20100129_0115_0250M_MS.h5"://EV_250_Emissive
SUBDATASET_2_DESC=[8000x8192] //EV_250_Emissive (16-bit unsigned integer)
  SUBDATASET_3_NAME=HDF5:"Z_SATE_C_BAWX_20100129130049_P_FY3A_MERSI_GBAL_L1_20100129_0115_0250M_MS.h5"://EV_250_RefSB_b1
SUBDATASET_3_DESC=[8000x8192] //EV_250_RefSB_b1 (16-bit unsigned integer)
 ¡­¡­
¡­¡­¡­.
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,  512.0)
Upper Right (  512.0,    0.0)
Lower Right (  512.0,  512.0)
Center      (  256.0,  256.0)
 
 but wen I trying to open a subdataset ,it's can't work well,why?
I:\gdalinfo HDF5:"Z_SATE_C_BAWX_20100129130049_P_FY3A_MERSI_GBAL_L1_2010012
9_0115_0250M_MS.h5"=BB_DN_average
ERROR 4: `HDF5:Z_SATE_C_BAWX_20100129130049_P_FY3A_MERSI_GBAL_L1_20100129_0115_0
250M_MS.h5=BB_DN_average' does not exist in the file system,
and is not recognised as a supported dataset name.
 
gdalinfo failed - unable to open 'HDF5:Z_SATE_C_BAWX_20100129130049_P_FY3A_MERSI
_GBAL_L1_20100129_0115_0250M_MS.h5=BB_DN_average'.
regards
ben
 
 		 	   		  
_________________________________________________________________
SkyDriveµç×Ó»­²á£¬´øÄãÁìÂÔ¾«²ÊÕÕƬ£¬·ÖÏí¡°ÃÀ¡±Ê±¡°ÃÀ¡±¿Ì!
http://www.windowslive.cn/campaigns/e-magazine/ngmchina/?a=c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100315/2463b6d3/attachment.html


More information about the gdal-dev mailing list