mspass-team / mspass

Massive Parallel Analysis System for Seismologists
https://mspass.org
BSD 3-Clause "New" or "Revised" License
30 stars 12 forks source link

numpy deprecation warning #492

Open pavlis opened 8 months ago

pavlis commented 8 months ago

I'm getting the following error any time I run the current container:

/tmp/ipykernel_535579/2643044777.py:26: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.

This is a well known warning but I do not understand how to find where it is happening since it seems this is coming from cached copy something is creating in jupyter/python. It is just a warning but we should address it. As far as I can tell it isn't causing any issues for now.

pavlis commented 8 months ago

I think this is not our problem but obspy. At least during a debugging session I see the error pop up when it runs obspy's travel time calculator.