Downloaded a sample file from http://envisat.esa.int/services/sample_products/aatsr/L2/. Seems to work fine in Python.
$ python >>> from osgeo import gdal >>> image = gdal.Open('ATS_MET_2PNETB20020729_070738_000058362008_00092_02150_0873.N1') >>> image.GetMetadata() {'MPH_STATE_VECTOR_TIME': '29-JUL-2002 08:14:40.282674', <snip>} >>> metadata = image.GetMetadata() >>> metadata['SPH_FIRST_MID_LAT'] '+0058766642' >>> image.GetMetadataItem('SPH_FIRST_MID_LAT') '+0058766642' Can you run gdalinfo on your file and post the output? Thanks, Roger -- On Tue, Apr 27, 2010 at 9:48 AM, Roger André <ran...@gmail.com> wrote: > Can you make a small portion of your data available to us? If GDAL can > read the data file, then it should be able to read this information as well. > > Roger > -- > > > On Fri, Apr 2, 2010 at 5:44 PM, menglong yan <yanmengl...@gmail.com>wrote: > >> Hi, I want to read envisat with gdal, and I can read the data >> successfully. However I can not get the header information such as >> "FIRST_MID_LAT"(this item could be >> found with NEST(Next ESA SAR toolbox)) with >> GDALDataset::GetMetadataItem("FIRST_MID_LAT"). I have read the souce >> code in /frmts/envisat/, and I am sure it is >> right to call this function. I turn to Anybody who once did this job >> for some advice. Thank you! >> Kind regards. >> _______________________________________________ >> gdal-dev mailing list >> gdal-dev@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/gdal-dev >> > >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev