[gdal-dev] read envisat with gdal

Roger André randre at gmail.com
Tue Apr 27 13:00:19 EDT 2010


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é <randre at 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 <yanmenglong at 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 at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100427/7b7ba737/attachment.html


More information about the gdal-dev mailing list