sarxarray icon indicating copy to clipboard operation
sarxarray copied to clipboard

Reading binary data with separated REAL and IMAG part

Open rogerkuou opened this issue 2 years ago • 1 comments

Some SAR data providers provide binary complex data in two files, separating real and imaginary part.

For example check this path: ls /project/caroline/Share/users/caroline-fvanleijen/projects/saocom/saocom_test/20230415/merged.data

files:

i_HH_mst_28Mar2023.hdr  i_HH_slv1_13Apr2023.hdr  q_HH_mst_28Mar2023.hdr  q_HH_slv1_13Apr2023.hdr
i_HH_mst_28Mar2023.img  i_HH_slv1_13Apr2023.img  q_HH_mst_28Mar2023.img  q_HH_slv1_13Apr2023.img

files starting with i are real data, q are imagenary data. img are binary files, hdr are metadata files.

Now the from_binary function assumes complex data are saved in one binary. We should consider expand it for this case.

rogerkuou avatar Jul 27 '23 12:07 rogerkuou

If we have SNAP working, this might be something we need to work on

rogerkuou avatar May 01 '25 11:05 rogerkuou