mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-11-24 16:17:22 +00:00
prange() already returns iono_scale=(f_L1/f_band)^2 for single-band measurements on the second slot. The SPP solver then applied the wavelength factor (lambda_band/lambda_L1)^2 again, so L2C/L5 iono corrections were over-scaled by 1.65x/1.79x. For L5 this biases the height solution by about -4 m on an otherwise sub-metre 2D fix. Only apply the legacy wavelength factor when prange() did not already provide a band factor (iono_scale == 1.0). L1 is unaffected. Signed-off-by: yangli-cnasp <66191093+yangli-cnasp@users.noreply.github.com>