I am running a SAC macro to add the lat and long to a total of 32 events.
It turns out that the macro only counts 26 events and leaves the rest of
the events untouched.
I ran the macro for several folders (I have to do it for many folders with
32 events each) and I found out that 26 is the max iterations that the DO
loop can do under SAC. Also, I found out that when number of events is
greater that 32 the macro does not even run and the following message just
here is the macro :
**cc LAT = 32.8118
**cc LON =-118.8036
do STAT wild xx*.SAC
ch stla 32.8118
ch stlo -118.8036
write change SAC hac