When using a global seismicity dataset, it can happen that issues arise when point coordinates are converted from lat/lon to UTM. The reason for that is that several points may then be far outside the respective UTM zone, which triggers an error. A proper solution to that would be to compute distances along great circles and therefore removing the need to convert to UTM. A quick fix could be to create a lat/lon "box" around the profile and only consider points that fall within that box. This should work fine for profiles that are not too long.
When using a global seismicity dataset, it can happen that issues arise when point coordinates are converted from lat/lon to UTM. The reason for that is that several points may then be far outside the respective UTM zone, which triggers an error. A proper solution to that would be to compute distances along great circles and therefore removing the need to convert to UTM. A quick fix could be to create a lat/lon "box" around the profile and only consider points that fall within that box. This should work fine for profiles that are not too long.