Skip to content

Conversation

@Teque5
Copy link
Collaborator

@Teque5 Teque5 commented Jan 2, 2026

In addition to adding support for common BLUE/Platinum files this PR also fixes some unreported bugs related to reading captures when header_bytes and trailing_bytes exist.

Currently blocked by PRs #116, #119, #120, #121, and https://github.com/sigmf/example_nonsigmf_recordings/pull/2.

I validated the bluefile i/o against https://github.com/sigmf/example_nonsigmf_recordings/ and many other .cdif files I had around.

TODO Before converting to full PR:

@Teque5 Teque5 self-assigned this Jan 2, 2026
@Teque5 Teque5 added the enhancement New feature or request label Jan 2, 2026
@777arc
Copy link
Member

777arc commented Jan 5, 2026

Thanks for all the great effort @Teque5 !!!!

Teque5 added 4 commits January 7, 2026 10:29
* Initial code by KelseyCreekSoftware
* Simplified install: drop scipy optional dependency and [apps] entirely
* add documentation for converters
* update converter entry points
* homologate API for wav & blue converter
* add support for metadata-only (0 sample) BLUE files
* simplify endian detection
* handle duplicate keys in extended header
* allow converters to --archive (.sigmf) or create SigMF pairs (.sigmf-data & .sigmf-meta)
* add tests for blue (.cdif) and wav (.wav) converters
* fromfile() now autodetects SigMF, BLUE, & WAV formats automatically
* Converters now support conversion to non-conforming dataset without
  writing datafiles back to disk
* Add utils.get_magic_bytes() for autodetection purposes
* split tests for converters into separate files
* Validated implementation against lots of files beyond nonsigmf-examples repo
* Updated converter documentation
* Added slightly more to README
* Drop support for float WAV files; tricky to support NCD
* Fix bug in sigmffile._count_samples for NCD files
* Fig bug in read_samples when using some NCD files with header & trailing bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SigMFile data_file is None from archive

3 participants