eqcorrscan / EQcorrscan

Earthquake detection and analysis in Python.
https://eqcorrscan.readthedocs.io/en/latest/
Other
167 stars 86 forks source link

Int overflow error in decluster unreported #546

Open calum-chamberlain opened 1 year ago

calum-chamberlain commented 1 year ago

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):

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.

calum-chamberlain commented 1 year ago

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