Thread: Save_Waveforms_Instrument_Corrected

Started: 2020-08-25 01:57:07
Last activity: 2020-08-25 12:15:46
Topics: SAC Help
tonino fernandez marañon
2020-08-25 01:57:07
Dear All,
I am writing a macro in SAC to remove the instrument response for many waveforms, my script is:

r AS*SHZ*SAC
setbb f1 0.1
setbb f2 0.15
setbb f3 8
setbb f4 9
rmean
rtrend
taper
transfer from polezero subtype SACPZ.AS.ZOBO.--.SHZ to acc freq %f1 %f2 %f3 %f4

Is there a way to save all traces with the original name but adding *_acc.sac?, for example:
write *_acc.sac, where *sac represents the "AS.ZOBO.SHZ"?
Thank you in advance.
Tonino
23:59:44 v.9bc884e1