EQcorrscan
EQcorrscan copied to clipboard
Int overflow error in decluster unreported
Describe the bug Attempting to decluster large parties (multiple days) can result in unreported int overflow errors.
To Reproduce To do
Expected behavior Cope with int32 types, and if the data overflow this, then warn the user and divide by largest factor? Or just tell the user to split the party up forst?
Desktop (please complete the following information):
- Operating System: Windows
- Python version: 3.9
- EQcorrscan version: 0.4.4
Additional context
This results in errors like: IndexError: index 0 is out of bounds for axis 0 with size 0
when trying to match peaks to actual detection values.
The party that was giving me the issue on Windows, using the current 0.4.4 version of EQcorrscan installed from conda-forge is here