Assistance with SNAP decoding #27
Replies: 1 comment
-
This sounds like an interesting, but challenging task. While it should theoretically be possible to apply another snapshot processing toolchain to the data of concern, I believe it is challenging due to the limited amount of information available about the data and the hardware. The first of piece of relevant information would be the data storage format. The way how SnapperGPS stores its raw data is described here:
It can be read from file with: # How many bytes to read
bytes_per_snapshot = int(4092000.0 * 12e-3 / 8)
# Read binary raw data from file
signal_bytes = np.fromfile(filename, dtype='>u1',
count=bytes_per_snapshot)
# Get bits from bytes
# Start here if data is passed as byte array
signal = np.unpackbits(signal_bytes, axis=-1, count=None,
bitorder='little')
# Convert snapshots from {0,1} to {-1,+1}
signal = -2 * signal + 1 It is possible that your device stores the data in a different format. Maybe try Secondly, it is in general correct that SnapperGPS also works with raw 1-bit I/Q data. However, there are a few more signal parameters that can cause discrepancies: For debugging, you can also inspect the raw output of the acquisition function looking for higher SNR values for some satellites. Overall, not a trivial task! |
Beta Was this translation helpful? Give feedback.
-
I received a question via email, which I will comment on here. The question:
Beta Was this translation helpful? Give feedback.
All reactions