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.

I validated the bluefile i/o against nonsigmf examples repo and many other .cdif files I had around.

TODO before converting to full PR:

Now ready.

@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 Teque5 force-pushed the feature/blue branch 2 times, most recently from 93d0eef to deaea7a Compare January 8, 2026 18:33
@Teque5 Teque5 force-pushed the feature/blue branch 3 times, most recently from f32a5df to cf17f1f Compare January 13, 2026 22:33
@Teque5 Teque5 marked this pull request as ready for review January 13, 2026 22:53
@Teque5 Teque5 force-pushed the feature/blue branch 2 times, most recently from 77bb858 to eb83345 Compare January 17, 2026 18:29
* Non-SigMF Converters
    * Initial code by KelseyCreekSoftware
    * fromfile() now autodetects SigMF, BLUE, & WAV formats automatically
    * allow converters to --archive (.sigmf) or create SigMF pairs (.sigmf-data & .sigmf-meta)
    * Converters now support conversion to non-conforming dataset without
      writing datafiles back to disk
    * BLUE
        * Validated implementation against lots of files beyond nonsigmf-examples repO
        * parse into (fixed, adjunct, extended) keys
        * add CRC validation for bluefile metadata
        * add support for metadata-only (0 sample) BLUE files
    * WAV
        * Drop support for float WAV files; tricky to support NCD
    * Single entry point (sigmf_convert)
    * conversion returns metadata for newly created file
    * enforce checksum calculation
    * account for metadata-only files with heading & trailing bytes
    * ensure for NCD conversion that both input & output are in same folder
    * homologate API for wav & blue converter
* integrate feedback from KelseyCreekSoftware
    * add conversion checks
    * add UX improvements
    * windows path issues
    * require input and output files for converters
* NCD Improvements
    * fixed some usage edge cases with all NCD files
    * Fix bug in sigmffile._count_samples for NCD files
    * Fig bug in read_samples when using some NCD files with header & trailing bytes
* Hashing
    * simplify implementation
    * add related tests
    * move from sigmf_hash to hashing -> API change
* Docs
    * new docs for converters
    * simplify doc build procedure
    * rewrite general use patterns
    * added support table for BLUE format codes
* Tests
    * add tests for blue (.cdif) and wav (.wav) converters
    * added tests for all supported BLUE types
    * split converter tests into separate files
    * allow epsilon differences due to float conversion patterns
    * simplify wav tests
* Project
    * Increment to v1.6.0
    * Simplified install: drop scipy optional dependency and [apps] entirely
    * Add utils.get_magic_bytes() for autodetection purposes
@Teque5 Teque5 merged commit bbb066b into main Jan 17, 2026
8 checks passed
@Teque5 Teque5 deleted the feature/blue branch January 17, 2026 19:00
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