Skip to content
Snippets Groups Projects
  1. Apr 02, 2024
  2. Mar 26, 2024
  3. Jun 27, 2023
  4. May 08, 2023
    • Erin (Josh) Rigler's avatar
      Modify TimeseriesUtility.py's split_trace() · b662348c
      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.
      b662348c
  5. Oct 14, 2021
  6. Oct 13, 2021
  7. Sep 08, 2021
  8. Sep 02, 2021
  9. Aug 06, 2021
  10. Jun 16, 2021
  11. Apr 15, 2021
  12. Apr 14, 2021
  13. Aug 31, 2020
  14. Apr 06, 2020
  15. Mar 03, 2020
  16. Feb 12, 2020
  17. Dec 16, 2019
  18. Dec 12, 2019
  19. Dec 05, 2019
  20. Nov 09, 2018
  21. Jul 27, 2018
  22. Jul 26, 2018
  23. Jan 11, 2018
  24. Oct 06, 2015
  25. Mar 27, 2015
Loading