Hi RSyaoxin, Il 10/07/2011 16:08, RSyaoxin ha scritto: > Hi,all. > I want to calibrate the Cosmo-Skymed radar data, and I need some > parameters, such as "Calibration Constant","Rescaling Factor","Reference > Incidence Angle" and so on.However,I'm a beginner,I don't know how to get > HDF5 metadata,Somebody can give me a tutorial in c or c++? > Furthermore,I used HDFView to see the file's metadata and found that > these information is stored in the metadata corresponding to the "root" of > the file, I try to use gdalinfo to get the file's metadata and can't find > it.That's why? > > Subdatasets: > > SUBDATASET_1_NAME=HDF5:"D:\CSKS3_GEC_B_WR_01_VV_RD_SF_20100720100133_20100720100148.h5"://MBI > SUBDATASET_1_DESC=[9028x12156] //MBI (16-bit unsigned integer) > > SUBDATASET_2_NAME=HDF5:"D:\CSKS3_GEC_B_WR_01_VV_RD_SF_20100720100133_20100720100148.h5"://QLK > SUBDATASET_2_DESC=[902x1215] //QLK (8-bit unsigned character) > > I hope to get some help.Thank you! > Kind regards.
The HDF5 driver has been recently updated to improve metadata management: http://trac.osgeo.org/gdal/changeset/22517 http://trac.osgeo.org/gdal/ticket/2412 The problem you are experimenting should be fixed in trunk but you need to re-build GDAL from sources to get it. regards -- Antonio Valentino _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev