Skip to content
Snippets Groups Projects
  1. Jun 11, 2020
  2. Jun 04, 2020
  3. 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
  4. 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
  5. May 28, 2020
  6. May 27, 2020
  7. May 26, 2020
  8. May 22, 2020
  9. May 21, 2020
  10. May 20, 2020
  11. May 19, 2020
  12. May 18, 2020
  13. May 14, 2020
  14. May 13, 2020
  15. May 12, 2020
Loading