TerraSAR-X and TanDEM-X tools
Two principal functions for accessing Complex SAR data are offered:
readCosFile reads annotations and samples from a version 1 or version 2 COSAR file.
TandDEM2TerraSAR converts a version 2 COSAR file as supplied with TanDEM-X products to a version 1 file as supplied with TerraSAR-X. There will be some loss of precision. At the time of writing, some software such as the Next ESA SAR Toolbox is unable to read version 2 files correctly.
There is also a utility function:
TD2TSall converts all the version 2 files found in a directory hierarchy to version 1 files. The original files are renamed.
The functions should work with multi-burst files, but have only been tested on single-burst files.
They will only run on little-endian machines. At the time of writing, this is not a limitation.
To use this submission, all the functions in the submission must be downloaded and placed on the MATLAB path. The halfprecision mex-file must then be built following the instructions in halfprecision.m.
At present no analysis functions are provided.
Cite As
David Young (2024). TerraSAR-X and TanDEM-X tools (https://www.mathworks.com/matlabcentral/fileexchange/45956-terrasar-x-and-tandem-x-tools), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: IEEE 754r Half Precision floating point converter
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.