johntruckenbrodt / pyroSAR

framework for large-scale SAR satellite data processing
MIT License
494 stars 110 forks source link

added new base attribute 'coordinates' to driver classes #289

Closed johntruckenbrodt closed 7 months ago

johntruckenbrodt commented 7 months ago

This new attribute is required for all driver classes and is for example used by method geometry.
A new test ensures that this method can be called for the following cases:

This required rewriting parts of the classes ESA and CEOS_ERS to remove calls to gdalinfo and instead directly read the metadata from the files. gdalinfo also reads the binary image data, which made it imposible to only add the metadata header/file to the repository for unit tests.
As a nice side effect, initializing a driver object is faster (although not as much as for SAFE data).