<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<META content="MSHTML 6.00.6000.16705" name=GENERATOR>
<STYLE>BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Arial size=2>Dear Xuzhang,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>sac<<EOF >! MyHeaderFile</FONT></DIV>
<DIV><FONT face=Arial size=2>r MysacFile</FONT></DIV>
<DIV><FONT face=Arial size=2>listhdr AMARKER FMARKER</FONT></DIV>
<DIV><FONT face=Arial size=2>EOF</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I hope that in the next version appear a better
solution, specially if some body need all the header.</FONT></DIV>
<DIV><FONT face=Arial size=2>P.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><FONT face=Arial></FONT><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=shenxzh@gmail.com
href="mailto:shenxzh@gmail.com">shenxzh@gmail.com</A> </DIV>
<DIV><B>Sent:</B> Tuesday, September 23, 2008 8:33 AM</DIV>
<DIV><B>To:</B> <A title=sac-help@iris.washington.edu
href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu</A>
</DIV>
<DIV><B>Subject:</B> [SAC-HELP] question about beam</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=Verdana><FONT size=2>Hi,</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2>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?</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Verdana><FONT size=2>Thank you.</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Verdana><FONT size=2>Xuzhang
<DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2> </DIV>
<DIV>
<HR>
</DIV>
<DIV>Xuzhang Shen </FONT></DIV>
<DIV> </DIV>
<DIV>Lanzhou Institute of Seismology, China Earquake Administration
(CEA) </DIV>
<DIV>450 Donggan Xilu, Lanzhou, Gansu Province, 730000, China</DIV>
<DIV> </DIV>
<DIV>Tel: +86-931-8277661</DIV>
<DIV>E_mail: <A href="mailto:shenxzh@gmail.com">shenxzh@gmail.com</A>; <A
href="mailto:shenxz@gssb.gov.cn">shenxz@gssb.gov.cn</A>;
</DIV></DIV></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV align=left><FONT size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT size=2><SPAN></SPAN></FONT></DIV>
<DIV><FONT size=2>2008-09-23</FONT></FONT></DIV></FONT>
<P>
<HR>
<P></P>_______________________________________________<BR>sac-help mailing
list<BR>sac-help@iris.washington.edu<BR>http://www.iris.washington.edu/mailman/listinfo/sac-help<BR></BODY></HTML>