Closed aringler-usgs closed 8 years ago
I guess your numpy version does not include np.fft.rfftfreq
? The latest master now includes a polyfill for older numpy versions. If you update it should work on your machine. Please reopen if not.
Cheers!
That did the trick. Sorry for not dealing with the obvious!
Thanks, Adam
On Fri, May 6, 2016 at 3:02 AM, Lion Krischer notifications@github.com wrote:
I guess your numpy version does not include np.fft.rfftfreq? The latest master now includes a polyfill for older numpy versions. If you update it should work on your machine. Please reopen if not.
Cheers!
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/krischer/instaseis/issues/38#issuecomment-217390156
Hello
I was going to try out instaseis, but I am running into some initial install test problems. If this is something I likely messed up please let me know so I can figure out what I am doing wrong. Let me know if you need other information. Thanks for making a program like this available.
Here is a bit of information: [aringler@igskgacggsaslrs instaseis]$ uname -r 3.10.0-327.13.1.el7.x86_64
[aringler@igskgacggsaslrs instaseis]$ python -m instaseis.tests ============================================================================================ test session starts ============================================================================================ platform linux2 -- Python 2.7.5, pytest-2.9.1, py-1.4.31, pluggy-0.3.1 rootdir: /home/aringler/data_stuff/newsyncomp/instaseis, inifile: collected 334 items
instaseis/tests/test_buffer.py . instaseis/tests/test_code_formatting.py . instaseis/tests/test_instaseis.py ............F.....FF....FF........ instaseis/tests/test_receiver.py ........... instaseis/tests/test_remote_instaseis_db.py ......... instaseis/tests/test_rotations.py .......... instaseis/tests/test_server.py ................................................................................................................................................................................................................ instaseis/tests/test_server_finite_source.py ....FFFFFFFF.............. instaseis/tests/test_source.py ..............F.............. instaseis/tests/test_syngine_instaseis_client.py ... instaseis/tests/test_wrappers.py ..
================================================================================================= FAILURES ================================================================================================== ____ test_finitesource ____
instaseis/tests/test_instaseis.py:647:
instaseis/base_instaseis_db.py:429: in get_seismograms_finite_source return_obspy_stream=False, remove_source_shift=False)
self = <instaseis.instaseis_db.InstaseisDB object at 0x7fd0f10>, source = <instaseis.source.Source object at 0x7fd4250>, receiver = <instaseis.source.Receiver object at 0x7fd4210> components = ('Z', 'N', 'E', 'R', 'T'), kind = 'displacement', remove_source_shift = False, reconvolve_stf = True, return_obspy_stream = False, dt = None, kernelwidth = 12
instaseis/base_instaseis_db.py:297: AttributeError _ test_time_settings_with_resample_stf[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_dbfwd]
db = <instaseis.instaseis_db.InstaseisDB object at 0x7fc6c10>
instaseis/tests/test_instaseis.py:920:
self = <instaseis.instaseis_db.InstaseisDB object at 0x7fc6c10>, source = <instaseis.source.Source object at 0x7fd1550>, receiver = <instaseis.source.Receiver object at 0x7fd18d0> components = ('Z', 'N', 'E', 'R', 'T'), kind = 'displacement', remove_source_shift = False, reconvolve_stf = True, return_obspy_stream = True, dt = None, kernelwidth = 12
instaseis/base_instaseisdb.py:297: AttributeError ____ test_time_settings_with_resample_stf[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_db_bwd_displ_only] __
db = <instaseis.instaseis_db.InstaseisDB object at 0x7faba50>
instaseis/tests/test_instaseis.py:920:
self = <instaseis.instaseis_db.InstaseisDB object at 0x7faba50>, source = <instaseis.source.Source object at 0x7fa9ed0>, receiver = <instaseis.source.Receiver object at 0x7fa9fd0> components = ('Z', 'N', 'E', 'R', 'T'), kind = 'displacement', remove_source_shift = False, reconvolve_stf = True, return_obspy_stream = True, dt = None, kernelwidth = 12
instaseis/base_instaseisdb.py:297: AttributeError ____ test_get_time_information_reconvolve_stf[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_dbfwd] ____
db = <instaseis.instaseis_db.InstaseisDB object at 0x7ab4f10>
instaseis/tests/test_instaseis.py:1254:
self = <instaseis.instaseis_db.InstaseisDB object at 0x7ab4f10>, source = <instaseis.source.Source object at 0x787a4d0>, receiver = <instaseis.source.Receiver object at 0x787a5d0>, components = ['Z'] kind = 'displacement', remove_source_shift = False, reconvolve_stf = True, return_obspy_stream = True, dt = None, kernelwidth = 5
instaseis/base_instaseis_db.py:297: AttributeError ___ test_get_time_information_reconvolve_stf[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_db_bwd_displ_only] ____
db = <instaseis.instaseis_db.InstaseisDB object at 0x584eed0>
instaseis/tests/test_instaseis.py:1254:
self = <instaseis.instaseis_db.InstaseisDB object at 0x584eed0>, source = <instaseis.source.Source object at 0x58fff50>, receiver = <instaseis.source.Receiver object at 0x58ffc50>, components = ['Z'] kind = 'displacement', remove_source_shift = False, reconvolve_stf = True, return_obspy_stream = True, dt = None, kernelwidth = 5
instaseis/base_instaseisdb.py:297: AttributeError test_finite_source_retrieval[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_db_bwd_displ_only-/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/nepal.param] __
reciprocal_clients = <instaseis.tests.tornado_testing_fixtures.AsyncClient object at 0xa863490>, usgs_param = '/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/nepal.param'
instaseis/tests/test_server_finite_source.py:140: AssertionError ------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------- WARNING:tornado.general:400 POST /finite_source?format=miniseed&receiverlongitude=11&receiverdepthinmeters=0&receiverlatitude=22 (127.0.0.1): Could not extract finite source seismograms. Make sure, the parameters are valid, and the depth settings are correct. WARNING:tornado.access:400 POST /finitesource?format=miniseed&receiverlongitude=11&receiverdepthinmeters=0&receiverlatitude=22 (127.0.0.1) 1144.13ms test_finite_source_retrieval[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_db_bwd_displ_only-/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/chile.param] __
reciprocal_clients = <instaseis.tests.tornado_testing_fixtures.AsyncClient object at 0xa83f510>, usgs_param = '/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/chile.param'
instaseis/tests/test_server_finite_source.py:140: AssertionError ------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------- WARNING:tornado.general:400 POST /finite_source?format=miniseed&receiverlongitude=11&receiverdepthinmeters=0&receiverlatitude=22 (127.0.0.1): Could not extract finite source seismograms. Make sure, the parameters are valid, and the depth settings are correct. WARNING:tornado.access:400 POST /finitesource?format=miniseed&receiverlongitude=11&receiverdepthinmeters=0&receiverlatitude=22 (127.0.0.1) 3408.37ms test_finite_source_retrieval[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_db_bwd_strain_only-/home/aringler/datastuff/newsyncomp/instaseis/instaseis/tests/data/nepal.param]
reciprocal_clients = <instaseis.tests.tornado_testing_fixtures.AsyncClient object at 0xa856d50>, usgs_param = '/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/nepal.param'
instaseis/tests/test_server_finite_source.py:140: AssertionError ------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------- WARNING:tornado.general:400 POST /finite_source?format=miniseed&receiverlongitude=11&receiverdepthinmeters=0&receiverlatitude=22 (127.0.0.1): Could not extract finite source seismograms. Make sure, the parameters are valid, and the depth settings are correct. WARNING:tornado.access:400 POST /finitesource?format=miniseed&receiverlongitude=11&receiverdepthinmeters=0&receiverlatitude=22 (127.0.0.1) 1122.37ms test_finite_source_retrieval[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_db_bwd_strain_only-/home/aringler/datastuff/newsyncomp/instaseis/instaseis/tests/data/chile.param]
reciprocal_clients = <instaseis.tests.tornado_testing_fixtures.AsyncClient object at 0xa86f690>, usgs_param = '/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/chile.param'
instaseis/tests/test_server_finite_source.py:140: AssertionError ------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------- WARNING:tornado.general:400 POST /finite_source?format=miniseed&receiverlongitude=11&receiverdepthinmeters=0&receiverlatitude=22 (127.0.0.1): Could not extract finite source seismograms. Make sure, the parameters are valid, and the depth settings are correct. WARNING:tornado.access:400 POST /finite_source?format=miniseed&receiverlongitude=11&receiverdepthinmeters=0&receiverlatitude=22 (127.0.0.1) 3377.16ms _ test_more_complex_queries[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_db_bwd_displ_only-/home/aringler/datastuff/newsyncomp/instaseis/instaseis/tests/data/nepal.param]
reciprocal_clients_all_callbacks = <instaseis.tests.tornado_testing_fixtures.AsyncClient object at 0xa879a10>, usgs_param = '/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/nepal.param'
instaseis/tests/test_server_finite_source.py:384: AssertionError ------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------- WARNING:tornado.general:400 POST /finite_source?format=miniseed&dt=2&receiverlongitude=11&components=Z&receiverlatitude=22 (127.0.0.1): Could not extract finite source seismograms. Make sure, the parameters are valid, and the depth settings are correct. WARNING:tornado.access:400 POST /finite_source?format=miniseed&dt=2&receiverlongitude=11&components=Z&receiverlatitude=22 (127.0.0.1) 995.37ms _ test_more_complex_queries[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_db_bwd_displ_only-/home/aringler/datastuff/newsyncomp/instaseis/instaseis/tests/data/chile.param]
reciprocal_clients_all_callbacks = <instaseis.tests.tornado_testing_fixtures.AsyncClient object at 0xa86ff50>, usgs_param = '/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/chile.param'
instaseis/tests/test_server_finite_source.py:384: AssertionError ------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------- WARNING:tornado.general:400 POST /finite_source?format=miniseed&dt=2&receiverlongitude=11&components=Z&receiverlatitude=22 (127.0.0.1): Could not extract finite source seismograms. Make sure, the parameters are valid, and the depth settings are correct. WARNING:tornado.access:400 POST /finite_source?format=miniseed&dt=2&receiverlongitude=11&components=Z&receiverlatitude=22 (127.0.0.1) 3364.18ms test_more_complex_queries[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_db_bwd_strain_only-/home/aringler/datastuff/newsyncomp/instaseis/instaseis/tests/data/nepal.param]
reciprocal_clients_all_callbacks = <instaseis.tests.tornado_testing_fixtures.AsyncClient object at 0xa86f910>, usgs_param = '/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/nepal.param'
instaseis/tests/test_server_finite_source.py:384: AssertionError ------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------- WARNING:tornado.general:400 POST /finite_source?format=miniseed&dt=2&receiverlongitude=11&components=Z&receiverlatitude=22 (127.0.0.1): Could not extract finite source seismograms. Make sure, the parameters are valid, and the depth settings are correct. WARNING:tornado.access:400 POST /finite_source?format=miniseed&dt=2&receiverlongitude=11&components=Z&receiverlatitude=22 (127.0.0.1) 1032.88ms test_more_complex_queries[/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/100s_db_bwd_strain_only-/home/aringler/datastuff/newsyncomp/instaseis/instaseis/tests/data/chile.param]
reciprocal_clients_all_callbacks = <instaseis.tests.tornado_testing_fixtures.AsyncClient object at 0xa8575d0>, usgs_param = '/home/aringler/data_stuff/newsyncomp/instaseis/instaseis/tests/data/chile.param'
instaseis/tests/test_server_finite_source.py:384: AssertionError ------------------------------------------------------------------------------------------- Captured stderr call -------------------------------------------------------------------------------------------- WARNING:tornado.general:400 POST /finite_source?format=miniseed&dt=2&receiverlongitude=11&components=Z&receiverlatitude=22 (127.0.0.1): Could not extract finite source seismograms. Make sure, the parameters are valid, and the depth settings are correct. WARNING:tornado.access:400 POST /finite_source?format=miniseed&dt=2&receiverlongitude=11&components=Z&receiverlatitude=22 (127.0.0.1) 3273.61ms __ test_CMT_finite_source ___
instaseis/tests/test_source.py:329:
self = <instaseis.source.FiniteSource object at 0x8edf050>, planet_radius = 6371000.0, dt = 5.0, nsamp = 144
instaseis/source.py:1462: AttributeError ================================================================================== 14 failed, 320 passed in 149.18 seconds ==================================================================================