Thread: SAC Macro Help to Kick Out EQs of certain epicentral distances

Started: 2015-01-17 01:35:33
Last activity: 2015-01-17 01:35:33
Topics: SAC Help

I was wondering if anyone could help me with writing a SAC macro that reads in multiple event files, and deletes any events that are beyond a certain epicentral distance away from the station.

I have events with epicentral distances from 30-90 degrees; however, I want to kick out any events with epicentral distances greater than 85 degrees.

Is there a way in SAC to kick out those events from 85-90 degrees that I don’t want?

I have checked the SAC header files, and the DIST functions are measured in km, and if I’m correct, that’s the value in the header that I want to look at.

Any ideas?

Thank you,


18:37:28 v.22510d55