DeDop / dedop-core

DeDop is a User Configurable Tool for Processing Delay Doppler Altimeter Data.
http://dedop.org/
GNU General Public License v3.0
13 stars 8 forks source link

Apply AGC correction to input and output waveforms #28

Closed mark-ep closed 7 years ago

mark-ep commented 7 years ago

We need to apply the AGC factor when reading L1A files. This is done as:

waveform = (i_meas_ku + 1j * q_meas_ku) / 10 ^ (-agc / 20)

When writing the L1B, the AGC is applied:

i2q2_meas_ku = wfm_multilooked * 10 ^ (-agc / 10)

and when writing the L1BS stack data, a the dynamic scale factor needs to be computed, applied, and written to the file.

related to the bug in issue #27