forked from mutability/dump1090
-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dump1090 testfiles incorrect samplerate #135
Comments
Yeah, there is a lot of old debug cruft that is out of date. If you're willing to update it for the current code (and/or remove whatever's not relevant) I'm more than happy to take a PR for that. Note that, in general, resampling an existing file is going to produce poorer results than taking a new capture directly at the correct rate. |
mutability
added a commit
that referenced
this issue
Aug 4, 2021
fixes #135 (well, wallpapers over the cracks at least)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using dump1090 to decode the included testfile in attempting to decode the included modes1.bin testfile, the current revision does not seem to correctly decode the file.
In particular, prior to commit 8f82e61, the testfile was sampled at 2MSPS, but, since then, it's' moved to a 2.4MSPS demodulator. If nothing else, this should be documented - there are a lot of references that use this, and the test file itself should be brought up-to-date.
results in stats showing 194 total usable messages (see observations). After this commit, things seem to get funny; immediately after this commit, it shows 256 usable messages. Then, somewhere near acd3870, it shows 283 total usable messages, but the number of unrecognized ICAO addresses has gone up. After the removal of the 2MHz in 8f82e61, even if I resample the testfile/modes1.bin, using 6/5, I don't see nearly as many valid options, and those I do see suggest an increase in "unrecognized ICAO address".
It would be really useful if the testfile/modes1.bin could be updated - having a known good datafile also allows for better regression testing. It might also be useful if the documentation indicated the preferred sample rate to be used when specifying the --ifile option, as it doesn't seem to be clear.
The text was updated successfully, but these errors were encountered: