<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
See also the READTABLE command. <br>
<br>
<br>
<br>
Januka Attanayake wrote:
<blockquote
cite="mid:984f6f900911041249s595c701dgd549566207cd98dd@mail.gmail.com"
type="cite">Hello everyone, <br>
I have a time series of synthetic traces and would like to convert them
to SAC format. I know I could use the CONVERT function but before that
I have to format the ASCII (time series) file by arranging the values
for sac header. Is there a utility to do this pre-formatting before I
could use the CONVERT function? <br>
ex. I believe my ASCII file should look like the following before using
CONVERT <br clear="all">
0.125 -7441.313 4087.937 1
-12345<br>
-12.73499 4.265015 -1145.083
-0.7329407 2<br>
-7.154175 -11.04712 -5.158936 -12345
-12345<br>
-12345 -12345 -12345 -12345
-12345<br>
-12345 -12345 -12345 -12345
-12345<br>
-12345 -12345 -12345 -12345
-12345<br>
-12345 49.69189 11.22172
499.5 0<br>
-18.58 -177.847 -12345 406800
6.3<br>
153.6304 92.23995 118.4234 -12345
-12345<br>
-12345 -12345 -12345 -12345
-12345<br>
16459.75 348.8256 16.44247 148.1168
-12345<br>
-12345 11.20899 0 0
-12345<br>
-12345 -12345 -12345 -12345
-12345<br>
-12345 -12345 -12345 -12345
-12345<br>
2007 8 21 11 25<br>
723 6 0 0 137<br>
-12345 3 -12345 -12345 -12345<br>
1 7 -12345 -12345 -12345<br>
-12345 -12345 -12345 -12345 -12345<br>
-12345 -12345 -12345 -12345 -12345<br>
-12345 -12345 -12345 -12345 -12345<br>
1 0 1 1 0<br>
GRA1 -12345 <br>
-12345 <br>
PKP PKIKP PKiKP <br>
-12345 -12345 -12345 <br>
-12345 -12345 -12345 <br>
-12345 -12345 -12345 <br>
-12345 -12345 BHZ <br>
GR -12345 -12345 <br>
-187.3201 -188.5614 -217.869 -206.1952
-207.0166<br>
-215.3447 -195.2354 -180.3634 -132.7042
-73.69939<br>
-41.64182 20.88158 27.19209 49.59732
147.0182<br>
84.607 63.40969 54.25536 80.00433
81.05703<br>
88.90465 90.763 85.95925 49.39476
22.92792<br>
-49.27525 -137.7821 -148.9169 -235.7549
-260.8252<br>
-287.5518 -289.338 -262.7619 -247.1613
-195.9543<br>
-143.929 -87.96223 -55.86754 42.96152
41.11675<br>
88.47706 110.7524 203.3549 248.1527
288.513<br>
289.4476 425.0559 414.4856 489.2326
529.2755<br>
708.3331 979.9971 1099.924 1216.979
1358.369<br>
<br>
I am not sure how I could get the values related to sac header
organized (a program?). Any ideas?<br>
<br>
Thank you very much. <br>
<br>
Januka.<br>
-- <br>
"Nothing can start to exist nor can cease to exist, only transformation
is possible"<br>
<br>
Januka Attanayake<br>
Solid Earth Geophysics & Economics<br>
University of Connecticut<br>
Beach Hall U-2045<br>
354,Mansfield Rd;<br>
Storrs.CT 06269<br>
<br>
Tel: 1 860 486 0475<br>
URL: <a moz-do-not-send="true"
href="http://sites.google.com/site/janukaattanayake/">http://sites.google.com/site/janukaattanayake/</a><br>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
sac-help mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu</a>
<a class="moz-txt-link-freetext" href="http://www.iris.washington.edu/mailman/listinfo/sac-help">http://www.iris.washington.edu/mailman/listinfo/sac-help</a>
</pre>
</blockquote>
</body>
</html>