Opened 13 years ago

Closed 13 years ago

Last modified 13 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 13 years ago.
Patch for extracting the complete ASAR metadata set
asar_metadata_autotest.patch (2.5 KB ) - added by antonio 13 years ago.
Test ASAR metadata in RECORDS domain
meris_metadata.patch (13.1 KB ) - added by antonio 13 years ago.
Read MERIS metadata
ers_in_envisat_metadata.patch (1.2 KB ) - added by antonio 13 years ago.
Read metadata from ERS products in ENVISAT format

Download all attachments as: .zip

Change History (10)

by antonio, 13 years ago

Attachment: asar_metadata.patch added

Patch for extracting the complete ASAR metadata set

comment:1 by antonio, 13 years ago

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 by Even Rouault, 13 years ago

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

by antonio, 13 years ago

Test ASAR metadata in RECORDS domain

by antonio, 13 years ago

Attachment: meris_metadata.patch added

Read MERIS metadata

in reply to:  2 comment:3 by antonio, 13 years ago

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 by Even Rouault, 13 years ago

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)

by antonio, 13 years ago

Read metadata from ERS products in ENVISAT format

in reply to:  4 comment:5 by antonio, 13 years ago

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 by Even Rouault, 13 years ago

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.