Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#4105 closed enhancement (fixed)

Improve ENVISAT (ASAR) parameters extraction

Reported by: antonio Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: envisat, metadata
Cc:

Description

It would be nice if the ENVISAT driver could extract more processing parameters (specially for SAR products) that are needed for high level data processing.

Relevant mailing list thread: http://lists.osgeo.org/pipermail/gdal-dev/2011-May/028775.html

Attachments (4)

asar_metadata.patch (98.5 KB) - added by antonio 6 years ago.
Patch for extracting the complete ASAR metadata set
asar_metadata_autotest.patch (2.5 KB) - added by antonio 6 years ago.
Test ASAR metadata in RECORDS domain
meris_metadata.patch (13.1 KB) - added by antonio 6 years ago.
Read MERIS metadata
ers_in_envisat_metadata.patch (1.2 KB) - added by antonio 6 years ago.
Read metadata from ERS products in ENVISAT format

Download all attachments as: .zip

Change History (10)

Changed 6 years ago by antonio

Attachment: asar_metadata.patch added

Patch for extracting the complete ASAR metadata set

comment:1 Changed 6 years ago by antonio

The attached patch enables the extraction of metadata from the ASAR ADS and GADS. Since the number of metadata is quite large and it is not appropriate to propagate many of them in case of dataset copy I decided to stored them into the "RECORDS" metadata domain.

Of course it is quite easy to change the policy so please let me know if there are different ideas and I will prepare an amended patch.

comment:2 Changed 6 years ago by Even Rouault

Milestone: 1.9.0
Resolution: fixed
Status: newclosed

Patch applied in trunk in r22485 with a few minor edits :

  • some typo fixes in the HTML page
  • the code didn't actually compile : the CollectADSMetadata() method was called by CollectRecordMetadata?() in the code
  • I've added a EnvisatFile_ prefix to the GetRecordDescriptor?() and GetFieldAsString?() to avoid namespace collisions
  • The makefile.vc wasn't updated with the new file

Changed 6 years ago by antonio

Test ASAR metadata in RECORDS domain

Changed 6 years ago by antonio

Attachment: meris_metadata.patch added

Read MERIS metadata

comment:3 in reply to:  2 Changed 6 years ago by antonio

Replying to rouault:

Patch applied in trunk in r22485 with a few minor edits :

[CUT]

Thank you Even and sorry for the approximative job.

Please find attached a small test for ASAR metadata and a new patch for reading MERIS metadata.

comment:4 Changed 6 years ago by Even Rouault

r22488 /trunk/gdal/frmts/ (envisat/records.c envisat/records.h frmt_various.html): ENVISAT: Read MERIS metadata (patch by Antonio Valentino, #4105)

r22489 /trunk/autotest/gdrivers/envisat.py: ENVISAT: Test reading ASAR metadata (patch by Antonio Valentino, #4105)

Changed 6 years ago by antonio

Read metadata from ERS products in ENVISAT format

comment:5 in reply to:  4 Changed 6 years ago by antonio

Replying to rouault:

r22488 /trunk/gdal/frmts/ (envisat/records.c envisat/records.h frmt_various.html): ENVISAT: Read MERIS metadata (patch by Antonio Valentino, #4105)

r22489 /trunk/autotest/gdrivers/envisat.py: ENVISAT: Test reading ASAR metadata (patch by Antonio Valentino, #4105)

Anther small patch for reading metadata from ERS products in ENVISAT format.

Please Even, be patient with me :)

comment:6 Changed 6 years ago by Even Rouault

r22499 /trunk/ (autotest/gdrivers/envisat.py gdal/frmts/envisat/records.c): ENVISAT: Read data from ERS products in ENVISAT format (patch by Antonio Valentino, #4105)

Note: See TracTickets for help on using tickets.