pypi obspy 1.5.1
ObsPy 1.5.1 (doi: 10.5281/zenodo.22108563)

5 hours ago

Changes:

  • General:
    • add helper function that wraps around numpy.linalg.eig but always
      mimicks the behavior of numpy <2.5, which is to downcast results to real
      valued arrays when possible. Replacing all numpy.linalg.eig calls in the
      code base with this wrapper (see #3760)
  • obspy.core:
    • inventory: fix a bug that Latitude, Longitude and Distance did not accept
      'measurement_units' when being initialized (see #3623)
  • obspy.clients.fdsn:
    • add new URL mapping 'EARTHSCOPE+USGS' and make it the default. This will
      use EarthScope for dataselect and station web services and use USGS for
      event web service. This is basically restoring the output users got before
      IRIS-now-EarthScope discontinued serving an event web service which was a
      mirror of USGS event web service (see #3784).
    • update URL endpoint for IGN to https (see #3744)
    • skip non-query related parameters when parsing WADL files for now and
      improve warning messages for these cases (see #3788)
  • obspy.clients.filesystem:
    • tsindex: improve handling of sql sessions, less connections staying open
      (see #3736)
    • SDS client: fix handling of empty files (see #3709)
  • obspy.clients.iris:
    • deprecate flinnengdahl web service, which EarthScope announced will be
      retired in July 2026. Users should use obspy.geodetics instead.
      (see #3756)
    • deprecate all services except the evalresp service. Services get retired
      throughout August 2026 (see #3791)
  • obspy.clients.neic:
    • change of IP address and domain to 137.227.252.145 and cwbp2.usgs.gov
      (see #3792).
  • obspy.clients.seedlink:
    • respect user specified timeout also in making the initial socket
      connection. Currently, when establishing the initial low-level socket
      connection no timeout is used, which in practice leads to a default 2min
      timeout even if user sets a shorter timeout when establishing the client
      (see #3767)
    • fix seedlink for EPOSFR to rtserve.resif.fr (see #3793)
  • obspy.imaging:
    • fix a bug in dayplot when data is only available for part of the time
      window (see #3780)
  • obspy.io.mseed:
    • fix the type of exception raised when trying to read an empty file
      (see #3709)
    • fix a void return type in write mseed ctypes wrapper (see #3735)
    • fix reading in case when numpy.memmap is not implemented (see #3741)
    • Memory leak fixed in obspy-readbuffer.c (see #3714)
  • obspy.signal.polarization:
    • fix a wrong calculation of the covariance matrix in the adaptative
      vidale method (see #3787)
  • obspy.taup:
    • fix an issue with obspy.taup not being usable with specific Python
      versions 3.13.10 and 3.14.1 (see #3650)

Don't miss a new obspy release

NewReleases is sending notifications on new releases.