uafgeotools / rtm

A Python package for locating infrasound sources using reverse time migration
https://uaf-rtm.readthedocs.io/
MIT License
38 stars 13 forks source link

ObsPy's remove_response() fails in this environment #24

Closed liamtoney closed 4 years ago

liamtoney commented 4 years ago

See https://github.com/obspy/obspy/issues/2434. For this environment, the issue is that ObsPy is 1.1.0 but NumPy is >= 1.17. Right now the only solution is to edit the file obspy/core/trace.py in your conda install.

In this file, one must wrap the line

        limit_numpy_fft_cache()

in a version check, making it

        if np.__version__ < '1.17.0':
            limit_numpy_fft_cache()

See https://github.com/obspy/obspy/issues/2434#issuecomment-518739630 for details.

liamtoney commented 4 years ago

Fixed by the newest release of ObsPy. Existing users (@davidfee5!) should delete and re-create the rtm environment.