Browse Source

wip: fix datacube subsample time shift

unsure about sign of correction
Sebastian Heimann 1 month ago
parent
commit
19c77e92f5
  1. 4
      src/io/datacube.py

4
src/io/datacube.py

@ -163,6 +163,10 @@ def analyse_gps_tags(header, gps_tags, offset, nsamples):
icontrol = num.array([x[0] for x in control_points], dtype=num.int64)
tcontrol = num.array([x[1] for x in control_points], dtype=float)
# corrected 2021-10-26: This sub-sample time shift introduced by the
# Cube's ADC was previously not recognized.
tcontrol += 0.199 * deltat + 0.0003
return tmin, tmax, icontrol, tcontrol, ok
except ControlPointError:

Loading…
Cancel
Save