Skip to content

Warn about stale SAC file when channel has no data - #154

Merged
seisman merged 2 commits into
seisman:mainfrom
GeorgeS311578:fix/stale-file-warning
Sep 25, 2026
Merged

seisman merged 2 commits into
seisman:mainfrom
GeorgeS311578:fix/stale-file-warning

Conversation

@GeorgeS311578

Copy link
Copy Markdown
Contributor

Fixes #152 (Case B, as discussed).

When win2sac_32 reports no data for a channel but a file with the
output name already exists on disk, log a warning that it may be stale.
FileNotFoundError keeps propagating untouched, as agreed.

Regression tests use a fake Popen, so no binary, account, or network
is needed: 2 passed.

@seisman
seisman merged commit 0217d68 into seisman:main Sep 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_extract_channel_sac returns stale/missing results silently when win2sac_32 fails

2 participants