109: SigV3.1 export front-end wiring #48

Merged
ykp merged 1 commit from feat/109-sig-export-wiring into main 2026-10-07 09:57:18 +02:00
Owner

Step 109 — SigV3.1 export: front-end wiring

Wires the existing SigFileWriter (complete since step 017) into the user-facing entry points.

Changes

File Change
src/gengnss/cli.py Add "sig" to --format choices
src/gengnss/gui/app.py Add "sig" to format combobox, _FMT_EXT, and filetypes
src/gengnss/core/scenario.py Accept "sig" in Scenario.validate()
src/gengnss/gui/controllers.py Accept "sig" in validate_settings()
docs/backlog/000-overview.md Add step 109, remove resolved remaining item #1

Verification

gengnss run --format sig --signal gps_l1ca:PRN1 --duration 0.01 --output /tmp/test.sig
wrote /tmp/test.sig (164864 bytes, 40960 samples)
read_sig(/tmp/test.sig) → 40960 samples, Fe=4.096 MHz, center=1575.42 MHz
pytest tests/test_scenario.py tests/test_cli.py tests/test_sig_output.py tests/test_testgnss_*.py → all pass
ruff check → All checks passed
## Step 109 — SigV3.1 export: front-end wiring Wires the existing `SigFileWriter` (complete since step 017) into the user-facing entry points. ### Changes | File | Change | |------|--------| | `src/gengnss/cli.py` | Add `"sig"` to `--format choices` | | `src/gengnss/gui/app.py` | Add `"sig"` to format combobox, `_FMT_EXT`, and filetypes | | `src/gengnss/core/scenario.py` | Accept `"sig"` in `Scenario.validate()` | | `src/gengnss/gui/controllers.py` | Accept `"sig"` in `validate_settings()` | | `docs/backlog/000-overview.md` | Add step 109, remove resolved remaining item #1 | ### Verification ``` gengnss run --format sig --signal gps_l1ca:PRN1 --duration 0.01 --output /tmp/test.sig wrote /tmp/test.sig (164864 bytes, 40960 samples) read_sig(/tmp/test.sig) → 40960 samples, Fe=4.096 MHz, center=1575.42 MHz pytest tests/test_scenario.py tests/test_cli.py tests/test_sig_output.py tests/test_testgnss_*.py → all pass ruff check → All checks passed ```
109(gengnss): SigV3.1 export front-end wiring
Some checks failed
ci / test (3.14) (pull_request) Successful in 1m52s
ci / test (3.12) (pull_request) Successful in 1m59s
ci / testgnss (3.14) (pull_request) Has been cancelled
ci / testgnss (3.9) (pull_request) Has been cancelled
ci / test (3.9) (pull_request) Has been cancelled
ci / testgnss (3.12) (pull_request) Has been cancelled
cb3e90d2c5
Wire the existing SigFileWriter into CLI, GUI, and validation so that
'--format sig' produces a SigV3.1 file instead of raw i8/i16.

Changes (4 files):
- src/gengnss/cli.py: add 'sig' to --format choices
- src/gengnss/gui/app.py: add 'sig' to format combobox, extension
  map, and filetypes filter
- src/gengnss/core/scenario.py: accept 'sig' in Scenario.validate()
- src/gengnss/gui/controllers.py: accept 'sig' in validate_settings()

Backlog: remaining item #1 removed, step 109 added as done.
Verified: 'gengnss run --format sig --signal gps_l1ca:PRN1 ...'
produces a valid .sig file readable by testgnss.io.sig_io.read_sig.
ykp merged commit 4f0ffc8b0d into main 2026-10-07 09:57:18 +02:00
ykp deleted branch feat/109-sig-export-wiring 2026-10-07 09:57:18 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ykp/gengnss!48
No description provided.