Skip to content
Snippets Groups Projects
  1. Nov 09, 2021
  2. Sep 16, 2021
  3. Aug 25, 2021
  4. Apr 14, 2021
  5. Apr 12, 2021
  6. Apr 07, 2021
  7. Apr 06, 2021
  8. Dec 17, 2020
  9. Oct 26, 2020
  10. Oct 07, 2020
  11. Jun 02, 2020
    • Erin (Josh) Rigler's avatar
      TimeseriesUtility.pad_and_trim_trace trim fix · 1f6bc71f
      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.
      1f6bc71f
    • Erin (Josh) Rigler's avatar
      Pass unit tests again · 09ad155f
      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)
      09ad155f
  12. Jun 01, 2020
    • Erin (Josh) Rigler's avatar
      Fix TimeseriesUtility.pad_and_trim_trace · 3703dda2
      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.
      3703dda2
  13. Apr 29, 2020
  14. Mar 06, 2020
  15. Mar 03, 2020
  16. Feb 20, 2020
  17. Dec 16, 2019
  18. Dec 05, 2019
  19. Nov 09, 2018
  20. Aug 22, 2018
  21. Jul 30, 2018
Loading