Thread: PLEASE URGENT HELP...!!

Started: 2007-01-18 06:11:57
Last activity: 2007-01-18 06:11:57
Topics: SAC Help
Talal
2007-01-18 06:11:57
Hi

i have used SYNCH command(then writing the header with WH command or W OVER) before cutting the data file and then do FFT AMPH and writing the Amplitude file then perform some operation on 2 Amplitude file. and then i wanna add 2 files togother and taking the SQRT and Saving the file again. but, actually in the Midd of my operation(while i'm adding the 2 file togother) I DO have the same error messege for header mismatch..!!

DOES ANY ONE KNOWS WHY IS THAT..?

EVEN MY ORIGINAL SAC DATA FILES IS IN SAME STARTING AND ENDING TIME and DATE and NPOINT...!!

I'M GETTING CREAZY...!! HOW DO I SOLVE THIS ...?

Looking for your reply,

greating
Talal


=======================================================
SAC> r IBR0120612040608-1.sac IBR0120612040608-2.sac
SAC> p1
SAC> synch
SAC> w over
SAC> lh


FILE: IBR0120612040608-1.sac - 1
----------------------------
NPTS = 8200 B = 0.000000e+00
E = 8.199000e+01 IFTYPE = TIME SERIES FILE
LEVEN = TRUE DELTA = 1.000000e-02
DEPMIN = -1.081640e+00 DEPMAX = 9.195840e+00
DEPMEN = 4.575455e+00 OMARKER = -33
T0MARKER = 22.912 KZDATE = DEC 04 (338), 2006
KZTIME = 06:08:33.000 KINST = K-NET95
KSTNM = IBR012 CMPAZ = 9.000000e+01
CMPINC = 9.000000e+01 STLA = 3.619010e+01
STLO = 1.402869e+02 STEL = 2.400000e+01
EVLA = 3.570000e+01 EVLO = 1.407000e+02
EVDP = 6.000000e+01 DIST = 6.592799e+01
AZ = 3.256936e+02 BAZ = 1.454521e+02
GCARC = 5.929183e-01 LOVROK = TRUE
USER6 = 0.000000e+00 USER7 = 4.500000e+00
USER8 = 5.657000e+00 USER9 = 8.200000e+01
Waiting

KUSER0 = JST KUSER1 = gal
KUSER2 = JMAESR NVHDR = 6
NORID = 0 NEVID = 0
LPSPOL = FALSE LCALDA = TRUE
KCMPNM = E-W KNETWK = K-NET

FILE: IBR0120612040608-2.sac - 2
----------------------------
NPTS = 8200 B = 0.000000e+00
E = 8.199000e+01 IFTYPE = TIME SERIES FILE
LEVEN = TRUE DELTA = 1.000000e-02
DEPMIN = 4.000672e-01 DEPMAX = 7.868200e+00
DEPMEN = 4.221532e+00 OMARKER = -33
T0MARKER = 22.912 KZDATE = DEC 04 (338), 2006
KZTIME = 06:08:33.000 KINST = K-NET95
KSTNM = IBR012 CMPAZ = 0.000000e+00
CMPINC = 9.000000e+01 STLA = 3.619010e+01
STLO = 1.402869e+02 STEL = 2.400000e+01
EVLA = 3.570000e+01 EVLO = 1.407000e+02
Waiting

EVDP = 6.000000e+01 DIST = 6.592799e+01
AZ = 3.256936e+02 BAZ = 1.454521e+02
GCARC = 5.929183e-01 LOVROK = TRUE
USER6 = 0.000000e+00 USER7 = 4.500000e+00
USER8 = 3.821000e+00 USER9 = 8.200000e+01
KUSER0 = JST KUSER1 = gal
KUSER2 = JMAESR NVHDR = 6
NORID = 0 NEVID = 0
LPSPOL = FALSE LCALDA = TRUE
KCMPNM = N-S KNETWK = K-NET

SAC> r IBR0120612040608-1.sac IBR0120612040608-2.sac
SAC> cut t0 0 t0 4
SAC> fft amph
DC level after DFT is 375.19
DC level after DFT is 346.17
SAC> wsp IBR0120612040608-1 IBR0120612040608-2


SAC> rh IBR0130612040608-2.am
SAC> lh columns 2


FILE: IBR0130612040608-2.am - 1
---------------------------
NPTS = 257 B = 0.000000e+00
E = 5.000000e+01 IFTYPE = GENERAL X VS Y FILE
LEVEN = TRUE DELTA = 1.953125e-01
DEPMIN = 3.937324e-03 DEPMAX = 1.731996e+01
DEPMEN = 3.587259e-01 OMARKER = -39
T0MARKER = 15.933 KZDATE = DEC 04 (338), 2006
KZTIME = 06:08:39.000 KINST = K-NET95
KSTNM = IBR013 CMPAZ = 0.000000e+00
CMPINC = 9.000000e+01 STLA = 3.615870e+01
STLO = 1.404892e+02 STEL = 2.800000e+01
EVLA = 3.570000e+01 EVLO = 1.407000e+02
EVDP = 6.000000e+01 DIST = 5.433527e+01
AZ = 3.395671e+02 BAZ = 1.594440e+02
GCARC = 4.886591e-01 LOVROK = TRUE
USER6 = 0.000000e+00 USER7 = 4.500000e+00
USER8 = 7.334000e+00 USER9 = 6.000000e+01
Waiting

KUSER0 = JST KUSER1 = gal
KUSER2 = JMAESR NVHDR = 6
NORID = 0 NEVID = 0
LPSPOL = FALSE LCALDA = TRUE
KCMPNM = N-S KNETWK = K-NET

SAC> rh IBR0130612040608-1.am
SAC> lh columns 2


FILE: IBR0130612040608-1.am - 1
---------------------------
NPTS = 257 B = 0.000000e+00
E = 5.000000e+01 IFTYPE = GENERAL X VS Y FILE
LEVEN = TRUE DELTA = 1.953125e-01
DEPMIN = 2.213776e-03 DEPMAX = 3.197727e+01
DEPMEN = 5.127870e-01 OMARKER = -39
T0MARKER = 15.933 KZDATE = DEC 04 (338), 2006
KZTIME = 06:08:39.000 KINST = K-NET95
KSTNM = IBR013 CMPAZ = 9.000000e+01
CMPINC = 9.000000e+01 STLA = 3.615870e+01
STLO = 1.404892e+02 STEL = 2.800000e+01
EVLA = 3.570000e+01 EVLO = 1.407000e+02
EVDP = 6.000000e+01 DIST = 5.433527e+01
AZ = 3.395671e+02 BAZ = 1.594440e+02
GCARC = 4.886591e-01 LOVROK = TRUE
USER6 = 0.000000e+00 USER7 = 4.500000e+00
USER8 = 9.747000e+00 USER9 = 6.000000e+01
Waiting

KUSER0 = JST KUSER1 = gal
KUSER2 = JMAESR NVHDR = 6
NORID = 0 NEVID = 0
LPSPOL = FALSE LCALDA = TRUE
KCMPNM = E-W KNETWK = K-NET

SAC> r IBR0130612040608-1.am IBR0130612040608-2.am
SAC> sqr
SAC> addf IBR0130612040608-2.am
ERROR 1801: Header field mismatch:
SAC>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
01:00:44 v.b3198453