Dear All,
I found lag time around 2 seconds for each day in my data by using cross correlation.
1: I modified the KZDATE and KZTIME based on lag time.
2: Later, when I want to compare arrival times for all stations in SAC for teleseismic event modifying header according to event time, (I modified the station files according to events info such as evla, evlo,evdp,kztime and kzdate)
3. But it gives the same arrival time for the corrected and original sac file.
What is the possible way to correct the SAC files for few seconds or milliseconds? Or where I am doing some mistakes?
I found lag time around 2 seconds for each day in my data by using cross correlation.
1: I modified the KZDATE and KZTIME based on lag time.
2: Later, when I want to compare arrival times for all stations in SAC for teleseismic event modifying header according to event time, (I modified the station files according to events info such as evla, evlo,evdp,kztime and kzdate)
3. But it gives the same arrival time for the corrected and original sac file.
What is the possible way to correct the SAC files for few seconds or milliseconds? Or where I am doing some mistakes?
-
Dear Aqueel -
A possible solution to your problem is that you must change NZHOUR NZMIN NZMSEC to change KZTIME - it is derived from those other header quantities. Try a test with a single file, change NZHOUR, NZMIN and NZMSEC, write it out, then re-read and check KZTIME.
Other than this suggestion, perhaps you aren’t writing out the file before re-reading it and using the changed header information.
On 4 Jun 2021, at 15:04, Aqeel Abbas (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:
George Helffrich
Dear All,
I found lag time around 2 seconds for each day in my data by using cross correlation.
1: I modified the KZDATE and KZTIME based on lag time.
2: Later, when I want to compare arrival times for all stations in SAC for teleseismic event modifying header according to event time, (I modified the station files according to events info such as evla, evlo,evdp,kztime and kzdate)
3. But it gives the same arrival time for the corrected and original sac file.
What is the possible way to correct the SAC files for few seconds or milliseconds? Or where I am doing some mistakes?
----------------------
SAC Help
Topic home: http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
george<at>elsi.jp
-
respected sir,
sir i am also facing this problem, the original SAC files NZHOUR and other headers have different values than event origin time so in order to change them and set them to event origin time i have followed the same steps you have suggested in your above solution,
using "ch O GMT" (also tried using "CHNHDR O GMT") command and writing over the files using "wh over" ( "w over" ) command. but still header values are not changed.
-
Hi,
Your ch O GMT is incomplete,
Try,
sac> ch O GMT 2021 234 21 28 00.000
where 234 is Julian day (today)
21=Hour; 28=Minutes, 00.000=second.milliseconds.
HTH,
Milton
Dott. Milton P. PLASENCIA LINARES
Centro Ricerca Sismologiche (CRS)
Istituto Nazionale di Oceanografia e di Geofisica Sperimentale - OGS
Borgo Grotta Gigante n. 42/c
34010 Sgonico (Trieste) - Italia
Tel. +39 040 2140 256 /156 Cell. +39 331 6481 935
www.inogs.it
On Sun, 22 Aug 2021 at 18:15, PRITESH SONI (via IRIS) <
sac-help-bounce<at>lists.ds.iris.edu> wrote:
respected sir,
sir i am also facing this problem, the original SAC files NZHOUR and other
headers have different values than event origin time so in order to change
them and set them to event origin time i have followed the same steps you
have suggested in your above solution,
using "ch O GMT" (also tried using "CHNHDR O GMT") command and writing
over the files using "wh over" ( "w over" ) command. but still header
values are not changed.
----------------------
SAC Help
Topic home: http://ds.iris.edu/message-center/topic/sac-help/ |
Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
-
Hi,
SAC throws an error while trying your command,
"ERROR interpreting command: ch O GMT 2012 001 05 27 55.980
ILLEGAL OPTION:"
-
try
ch O GMT 2012 001 05 27 55 980
Milton P. Plasencia Linares
mpplasencia@ <mplasencia<at>inogs.it>gmail.com
On Mon, Aug 30, 2021 at 6:53 PM Pritesh Soni (via IRIS) <
sac-help-bounce<at>lists.ds.iris.edu> wrote:
Hi,
SAC throws an error while trying your command,
"ERROR interpreting command: ch O GMT 2012 001 05 27 55.980
ILLEGAL OPTION:"
----------------------
SAC Help
Topic home: http://ds.iris.edu/message-center/topic/sac-help/ |
Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
-
Hi
You should input "2012 001 05 27 55 980", where 980 is in unit of
millisecond.
WT
Pritesh Soni (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> 於 2021年8月31日 週二
上午12:49 寫道:
Hi,
SAC throws an error while trying your command,
"ERROR interpreting command: ch O GMT 2012 001 05 27 55.980
ILLEGAL OPTION:"
----------------------
SAC Help
Topic home: http://ds.iris.edu/message-center/topic/sac-help/ |
Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
-
-
-
Hi Pritesh,
In addition to what others have suggested, you also will have to take time
offsets into account as your seismogram appears to start at a different
time than the origin time. So here's the complete solution:
CHNHDR O GMT 2012 001 05 27 55 980
CHNHDR allt (0 - &1,o&) IZTYPE IO
WRITE OVER
Make sure to keep a copy of your original seismogram since you're doing a
WRITE OVER.
Januka
Januka Attanayake
Research Fellow/Lecturer | Earthquake Seismology Lead
Homepage: *https://sites.google.com/site/janukaattanayake
https://sites.google.com/site/janukaattanayake*
School of Geography, Earth & Atmospheric Sciences
University of Melbourne | Parkville 3010 VIC
Australia
On Mon, 23 Aug 2021 at 02:13, PRITESH SONI (via IRIS) <
sac-help-bounce<at>lists.ds.iris.edu> wrote:
respected sir,
sir i am also facing this problem, the original SAC files NZHOUR and other
headers have different values than event origin time so in order to change
them and set them to event origin time i have followed the same steps you
have suggested in your above solution,
using "ch O GMT" (also tried using "CHNHDR O GMT") command and writing
over the files using "wh over" ( "w over" ) command. but still header
values are not changed.
----------------------
SAC Help
Topic home: http://ds.iris.edu/message-center/topic/sac-help/ |
Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
-
-