Warning while computing DTT #298
gmsilveira
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I need some advice as I am getting multiple warnings as below:
obspy/lib/python3.10/site-packages/msnoise/s06compute_dtt.py:141: RuntimeWarning: divide by zero encountered in double_scalars
wstd = np.sqrt(np.sum(w * (d - wavg) ** 2) / ((N - 1) * np.sum(w) / N))
Can it be related to the MWCS and step? I'm following the recommendation and using MWCS length about 1.2 to 1.5 twice the highest period.
I found a question on the same issue, but I could not find the xtol in api.py (located at anaconda3/envs/obspy/lib/python3.10/site-packages/msnoise/)
Many, many thanks!
Beta Was this translation helpful? Give feedback.
All reactions