I made the changes @rh-downunder suggested to the network code finding function for the catalogue compilation workflow. Also I have made a minor correction to the function which updates the hypocentres of events in the seismic/ssst_relocation/relocation/main.py algorithm to improve computation time.
I am unsure why, but after a few iterations of the relocation algorithm during testing, the function extract_hypocentres_from_database in seismic/ssst_relocation/relocation/Relocation.py fails to find some hypocentres. I suspect this may be because iLoc has failed to find a convergent hypocentre for some of the events, potentially erasing the preferred origin ID from the database. I have changed the code to include a 'try' command in update_hypocentres_from_database to temporarily fix this issue.
I made the changes @rh-downunder suggested to the network code finding function for the catalogue compilation workflow. Also I have made a minor correction to the function which updates the hypocentres of events in the seismic/ssst_relocation/relocation/main.py algorithm to improve computation time.
I am unsure why, but after a few iterations of the relocation algorithm during testing, the function extract_hypocentres_from_database in seismic/ssst_relocation/relocation/Relocation.py fails to find some hypocentres. I suspect this may be because iLoc has failed to find a convergent hypocentre for some of the events, potentially erasing the preferred origin ID from the database. I have changed the code to include a 'try' command in update_hypocentres_from_database to temporarily fix this issue.