Hi all,
I download some earthquakes from IRIS. I set time range as 100 before
first P and 600 after first P. But the begin time(B in SAC header) in
SAC file is zero. How could I get the correct time? (assume the time
when earthquake happened is zero, then B should be a number like 600
or something)
I think of a method that, first calculate the first P time as T1MARKER
with TAUP, then change header B as (T1-100). But SAC cannot recognize
the command---"ch b (t1-100)". How could I get it run?
Thank you in advance!
Panxu
I download some earthquakes from IRIS. I set time range as 100 before
first P and 600 after first P. But the begin time(B in SAC header) in
SAC file is zero. How could I get the correct time? (assume the time
when earthquake happened is zero, then B should be a number like 600
or something)
I think of a method that, first calculate the first P time as T1MARKER
with TAUP, then change header B as (T1-100). But SAC cannot recognize
the command---"ch b (t1-100)". How could I get it run?
Thank you in advance!
Panxu
-
The default setting for SAC data files is to have IZTYPE set to IB, the
begin time (B). Alternatives of possible interest to you are IO, origin
time, or IA, first arrival time. Check out the SAC Header Table at
http://www.iris.edu/software/sac/manual/file_format.html. To change the
value for IZTYPE, you use the command CH within SAC after reading in the
file of interest.
On Fri, 24 Sep 2010, Panxu Zhang wrote:
Hi all,
I download some earthquakes from IRIS. I set time range as 100 before
first P and 600 after first P. But the begin time(B in SAC header) in
SAC file is zero. How could I get the correct time? (assume the time
when earthquake happened is zero, then B should be a number like 600
or something)
I think of a method that, first calculate the first P time as T1MARKER
with TAUP, then change header B as (T1-100). But SAC cannot recognize
the command---"ch b (t1-100)". How could I get it run?
Thank you in advance!
Panxu
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help