Hi,
I use 'beam' to stack the waveforms (1.sac, 2.sac,...9.sac) and get the output file-*beam.SAC, and want to copy the event and station information to the *beam.SAC file, how to do? Who can help me supply a example of script?
Thank you.
Xuzhang
Xuzhang Shen
Lanzhou Institute of Seismology, China Earquake Administration (CEA)
450 Donggan Xilu, Lanzhou, Gansu Province, 730000, China
Tel: +86-931-8277661
E_mail: shenxzh<at>gmail.com; shenxz<at>gssb.gov.cn;
2008-09-23
I use 'beam' to stack the waveforms (1.sac, 2.sac,...9.sac) and get the output file-*beam.SAC, and want to copy the event and station information to the *beam.SAC file, how to do? Who can help me supply a example of script?
Thank you.
Xuzhang
Xuzhang Shen
Lanzhou Institute of Seismology, China Earquake Administration (CEA)
450 Donggan Xilu, Lanzhou, Gansu Province, 730000, China
Tel: +86-931-8277661
E_mail: shenxzh<at>gmail.com; shenxz<at>gssb.gov.cn;
2008-09-23
-
Dear Xuzhang,
Also I have tried to retrieve the header information and some difficulties exits. When you do it from some command window only appears the portion depending the size of the window and if you use a macro occur the same thing. However, usually we need only part of the information, with the following instruction in a cshell script you can save the information that you need, for example if you pick it with A and F markers:
sac<<EOF >! MyHeaderFile
r MysacFile
listhdr AMARKER FMARKER
EOF
I hope that in the next version appear a better solution, specially if some body need all the header.
P.
From: shenxzh<at>gmail.com
Sent: Tuesday, September 23, 2008 8:33 AM
To: sac-help<at>iris.washington.edu
Subject: [SAC-HELP] question about beam
Hi,
I use 'beam' to stack the waveforms (1.sac, 2.sac,...9.sac) and get the output file-*beam.SAC, and want to copy the event and station information to the *beam.SAC file, how to do? Who can help me supply a example of script?
Thank you.
Xuzhang
--------------------------------------------------------------------------------
Xuzhang Shen
Lanzhou Institute of Seismology, China Earquake Administration (CEA)
450 Donggan Xilu, Lanzhou, Gansu Province, 730000, China
Tel: +86-931-8277661
E_mail: shenxzh<at>gmail.com; shenxz<at>gssb.gov.cn;
--------------------------------------------------------------------------------
2008-09-23
--------------------------------------------------------------------------------
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help