fix datacube subsample time shift #253

Merged
emolch merged 4 commits from bugfix/datacube-subsample-shift into master 3 weeks ago
emolch commented 1 month ago
Owner

It has recently been recognized that the ADC in the Cube dataloggers introduces a subsample time lag of 0.199 * 1/samplerate + 0.00030sec.

Unfortunately this can change the time-span information of files (which is cached in ~/.pyrocko/cache) and we so far have no way to find out if that cached information is outdated. Seems to be a minor problem though, because the information is refreshed when files are read and an inconsistency is detected.

It has recently been recognized that the ADC in the Cube dataloggers introduces a subsample time lag of `0.199 * 1/samplerate + 0.00030sec`. Unfortunately this can change the time-span information of files (which is cached in `~/.pyrocko/cache`) and we so far have no way to find out if that cached information is outdated. Seems to be a minor problem though, because the information is refreshed when files are read and an inconsistency is detected.
emolch added 1 commit 1 month ago
19c77e92f5 wip: fix datacube subsample time shift
emolch added 1 commit 1 month ago
35370721f1 wip: fix datacube time shift - add test
Poster
Owner

Unsure about sign of correction. As it is now, red would be corrected and blue uncorrected.

Unsure about sign of correction. As it is now, red would be corrected and blue uncorrected.
Poster
Owner

Correction should now be correct. Red is corrected, green uncorrected.

Correction should now be correct. Red is corrected, green uncorrected.
emolch force-pushed bugfix/datacube-subsample-shift from 35370721f1 to 703dfceb4a 1 month ago
emolch requested review from mao 1 month ago
emolch changed title from WIP: fix datacube subsample time shift to fix datacube subsample time shift 1 month ago
emolch force-pushed bugfix/datacube-subsample-shift from 703dfceb4a to f9b6d9d774 1 month ago
emolch added 1 commit 1 month ago
999ee8febf datacube: windows compatibility
emolch added 1 commit 1 month ago
2fdb64a5b9 datacube: windows compatibility
emolch added 1 commit 1 month ago
e676e99f85 datacube: windows compatibility
emolch added 1 commit 1 month ago
e35efeac73 datacube: windows compatibility
emolch added 1 commit 1 month ago
af5cdc9e08 datacube: windows compatibility
emolch added 1 commit 1 month ago
cf61d2c7bb datacube: windows compatibility
emolch force-pushed bugfix/datacube-subsample-shift from cf61d2c7bb to 067a4a6a98 1 month ago
emolch merged commit 86d01554d0 into master 3 weeks ago
emolch deleted branch bugfix/datacube-subsample-shift 3 weeks ago

Reviewers

mao was requested for review 1 month ago
continuous-integration/drone/push Build is passing
The pull request has been merged as 86d01554d0.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.