Skip to content

[Inconsistent Results With CS16 File Input] - Smaller Input Size Generates Larger Number Of AIS Messages. #419

@ekarseras

Description

@ekarseras

This issue regards v0.62 and the test conditions are the following:

  1. Use raw file input (cs16) of IQ data sampled at 1.535 MSPS.
  2. The first file has 400000 IQ samples stored (test_ch0.cs16).
  3. A second file is generated by removing the first 60000 IQ samples from the first file (test_ch0_chopped.cs16).
  4. 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.

  1. 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.

  1. This is contradictory because the second file should contain less messages than the first one, being its truncated version.
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions