- Feb 18, 2025
-
-
Erin (Josh) Rigler authored
- better handle hour and day intervals in create_empty_trace - enode_stream now handles "STEIM" encoding - fixed bug in pad_and_trim_trace
-
- Apr 22, 2024
-
-
Geels, Brendan Ryan authored
-
- Apr 17, 2024
-
-
Geels, Brendan Ryan authored
-
- May 08, 2023
-
-
Erin (Josh) Rigler authored
The split_trace() function always dropped the last sample. This was seemingly part of a flawed logic designed to prevent traces being written to Edge by the MiniSeedInputClient that spanned midnight. This worked, but only if the original trace actually spanned midnight. For the majority of data that do not span midnight, this dropped a sample every time. The updated logic does what I believe was the original intent (that is, it breaks traces into more manageable chunks) without duplicating or losing any data. This is consistent with obspy's concept of data slices, where a starttime and endtime are always inclusive, but it deviates somewhat from MiniSeed logic, which assumes a starttime, plus a delta, plus a number of samples. It was necessary to update a couple unit tests for the MiniSeedFactory to work with this new logic, but I am certain that the original test logic was not based on anything but what the TimeseriesUtility.py function(s) returned when they were originally written.
-
- Dec 08, 2022
-
-
Erin (Josh) Rigler authored
The has_any_channels method in TimeseriesUtility.py did not properly handle streams with multiple traces with the same channel, but different stations (or networks, or locations). It should work now.
-
- Nov 19, 2022
-
-
Erin (Josh) Rigler authored
The method TimeseriesUtility.get_stream_gaps() would over-write gaps[channel] if there were multiple Traces in a stream that were the same channel, but different observatories. This is a typical situation when using the AverageAlgorithm.
-
- Nov 09, 2021
-
-
Cain, Payton David authored
-
- Sep 16, 2021
-
-
Cain, Payton David authored
-
- Aug 25, 2021
-
-
Cain, Payton David authored
-
Cain, Payton David authored
-
- Apr 14, 2021
-
-
Cain, Payton David authored
-
- Apr 12, 2021
-
-
Cain, Payton David authored
-
- Apr 07, 2021
-
-
Cain, Payton David authored
-
- Apr 06, 2021
-
-
Cain, Payton David authored
-
- Dec 17, 2020
-
-
Cain, Payton David authored
-
Cain, Payton David authored
-
- Oct 26, 2020
-
-
Cain, Payton David authored
-
Cain, Payton David authored
-
Cain, Payton David authored
-
Cain, Payton David authored
-
- Oct 07, 2020
-
-
Jeremy M Fee authored
instead of deprecated microsecond property setter.
-
Jeremy M Fee authored
Add test for round-to-next-second branch.
-
-
- Jun 02, 2020
-
-
Erin (Josh) Rigler authored
Applied the same fix to the trim logic in method TimeseriesUtility.pad_and_trim_trace() as previously applied to the pad logic. Added a unit test that would have failed using the old logic.
-
Erin (Josh) Rigler authored
The first attempt to fix TimeseriesUtility.pad_and_trim_trace() broke a unit test. I'm not sure I agree with what the unit test defined as passing, but I do understand the logic. This now satisfies the logic of the unit test(s), while still fixing the floating point precision problem to the default resolution of UTCDateTime objects (that is, 1e-6 or microseconds)
-
- Jun 01, 2020
-
-
Erin (Josh) Rigler authored
I ran into a floating point precision issue when padding a trace out to the requested starttime when the data block returned by the Edge miniseed factory (but this is not an Edge issue, per se) was less than what was requested. My solution was to use `round()` instead of `int()` when converting a time differential to a discrete number of samples. I'm confident this is a robust fix for padding. I'm not sure if it also the proper approach to the trimming, which seems to be a bit more sophisticated in that is uses the `ceil()` method. In any case, I request some feedback before merging this deceptively simple PR.
-
- Apr 29, 2020
-
-
Jeremy M Fee authored
-
- Mar 06, 2020
-
-
- Mar 03, 2020
-
-
Jeremy M Fee authored
-
- Feb 20, 2020
-
-
Jeremy M Fee authored
-
Jeremy M Fee authored
-
- Dec 16, 2019
-
-
Jeremy M Fee authored
-
- Dec 05, 2019
-
-
Jeremy M Fee authored
-
- Nov 09, 2018
-
-
-
-
Add "without_gaps" option to get_stream_start_end_times, add "pad_and_trim_trace" method and update pad_timeseries to use it
-
-