Dear SAC user,
I am trying to set the theoretical travel time in sac head.
But I am get error message as:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
taup_setsac -mod iasp91 -ph Pdiff-1,P-1 2012.239b.20.57.58.ADK.sac.z
Exception in thread "main" java.io.IOException: 2012.239b.20.57.58.ADK.sac.z does not appear to be a sac file! npts(12000) * 4 + header(632) != file length=720632
as linux: npts(-533856256)*4 + header(632) != file length=720632
at edu.sc.seis.seisFile.sac.SacTimeSeries.read(SacTimeSeries.java:197)
at edu.sc.seis.seisFile.sac.SacTimeSeries.<init>(SacTimeSeries.java:82)
at edu.sc.seis.TauP.TauP_SetSac.processSacFile(TauP_SetSac.java:153)
at edu.sc.seis.TauP.TauP_SetSac.start(TauP_SetSac.java:136)
at edu.sc.seis.TauP.TauP_SetSac.main(TauP_SetSac.java:350)
----------------------------------------------------------------------------------------------------------------------------------------------------------------
I did not understand why I am getting this error. Error say that it dont appear to be a sac file. But it is a SAC file
with complete header information. Earlier I have set the time with out any problem. But now I did not understand where my problem lies.
Header information:
FILE: 2012.239b.20.57.58.GDU.sac.z - 1
----------------------------------
NPTS = 12000
B = 8.338950e+02
E = 2.633745e+03
IFTYPE = TIME SERIES FILE
LEVEN = TRUE
DELTA = 1.500000e-01
DEPMIN = 1.515800e+04
DEPMAX = 1.787900e+04
DEPMEN = 1.641929e+04
OMARKER = 0
KZDATE = AUG 26 (239), 2012
KZTIME = 20:57:58.200
KSTNM = GDU
CMPAZ = 0.000000e+00
CMPINC = 0.000000e+00
STLA = 1.584456e+01
STLO = 7.996883e+01
STEL = 4.900000e+01
EVLA = 3.302000e+01
EVLO = -1.155500e+02
EVDP = 9.000000e+03
DIST = 1.435266e+04
AZ = 3.405922e+02
BAZ = 1.686116e+01
GCARC = 1.291968e+02
LOVROK = TRUE
NVHDR = 6
LPSPOL = FALSE
LCALDA = TRUE
KCMPNM = BHZ
MAG = 5.500000e+00
Thanking you,
Sonu
I am trying to set the theoretical travel time in sac head.
But I am get error message as:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
taup_setsac -mod iasp91 -ph Pdiff-1,P-1 2012.239b.20.57.58.ADK.sac.z
Exception in thread "main" java.io.IOException: 2012.239b.20.57.58.ADK.sac.z does not appear to be a sac file! npts(12000) * 4 + header(632) != file length=720632
as linux: npts(-533856256)*4 + header(632) != file length=720632
at edu.sc.seis.seisFile.sac.SacTimeSeries.read(SacTimeSeries.java:197)
at edu.sc.seis.seisFile.sac.SacTimeSeries.<init>(SacTimeSeries.java:82)
at edu.sc.seis.TauP.TauP_SetSac.processSacFile(TauP_SetSac.java:153)
at edu.sc.seis.TauP.TauP_SetSac.start(TauP_SetSac.java:136)
at edu.sc.seis.TauP.TauP_SetSac.main(TauP_SetSac.java:350)
----------------------------------------------------------------------------------------------------------------------------------------------------------------
I did not understand why I am getting this error. Error say that it dont appear to be a sac file. But it is a SAC file
with complete header information. Earlier I have set the time with out any problem. But now I did not understand where my problem lies.
Header information:
FILE: 2012.239b.20.57.58.GDU.sac.z - 1
----------------------------------
NPTS = 12000
B = 8.338950e+02
E = 2.633745e+03
IFTYPE = TIME SERIES FILE
LEVEN = TRUE
DELTA = 1.500000e-01
DEPMIN = 1.515800e+04
DEPMAX = 1.787900e+04
DEPMEN = 1.641929e+04
OMARKER = 0
KZDATE = AUG 26 (239), 2012
KZTIME = 20:57:58.200
KSTNM = GDU
CMPAZ = 0.000000e+00
CMPINC = 0.000000e+00
STLA = 1.584456e+01
STLO = 7.996883e+01
STEL = 4.900000e+01
EVLA = 3.302000e+01
EVLO = -1.155500e+02
EVDP = 9.000000e+03
DIST = 1.435266e+04
AZ = 3.405922e+02
BAZ = 1.686116e+01
GCARC = 1.291968e+02
LOVROK = TRUE
NVHDR = 6
LPSPOL = FALSE
LCALDA = TRUE
KCMPNM = BHZ
MAG = 5.500000e+00
Thanking you,
Sonu