This issue regards v0.62 and the test conditions are the following:
- Use raw file input (cs16) of IQ data sampled at 1.535 MSPS.
- The first file has 400000 IQ samples stored (test_ch0.cs16).
- A second file is generated by removing the first 60000 IQ samples from the first file (test_ch0_chopped.cs16).
- When AIS-catcher is ran on the first file (model -m 2)
./AIS-catcher -m 2 -v -o 2 -s 1536000 -r -ga FILE test_ch0.cs16 FORMAT CS16
this will generate 5 messages.
- When AIS-catcher is ran on the second file (model -m 2)
./AIS-catcher -m 2 -v -o 2 -s 1536000 -r -ga FILE test_ch0_chopped.cs16 FORMAT CS16
this will generate 7 messages.
- This is contradictory because the second file should contain less messages than the first one, being its truncated version.
- When the same test is repeated with other models, -m 1 and -m 0; the results are consistent, i.e., a smaller file will produce less messages.
The test files are attached.
test_ch0.tar.gz