<div id="_htmlarea_default_style_" style="font:10pt arial,helvetica,sans-serif">Dear Brian Savage,<br><br>Yes thats is true that the
problem is derived since msec value is out of allowed range. Thanks for the warning. I will consider this too during the process oevr such
data.<br><br>regards<br>tuna<br>
--
<br># # # # # # #<br><br><br>Helmholtz-Zentrum
Potsdam<br>Deutsches GeoForschungsZentrum GFZ<br><br>Telegrafenberg, D 409<br>D-14473 Potsdam/Germany<br>Tel.: +49 331 288-1322<br>Fax: +49 331
288-1328<br>E-Mail: ekent@gfz-potsdam.de<br><br><br>On Fri, 29 Oct 2010 10:37:05 -0400<br> Brian Savage <savage@uri.edu> wrote:<br>> To
follow up:<br>> <br>> The values from kztime should be:<br>> 0 <= hour <= 24<br>> 0 <= min <= 59<br>> 0 <= sec <=
59<br>> 0 <= msec <= 999<br>> <br>>> ERROR 907: Bad time field entry detected: 22 8 26 1432<br>> <br>>
>From your output the hour = 22, min = 8, sec = 26 and <br>>the msec = 1432<br>> millisecond (1432) is outside of the allowed range, so
<br>>the 907 Error is occurring.<br>> The output for the error message *should*, and will be <br>>better in the future.<br>> I believe
your seconds should be at 27 and msec should <br>>be 432.<br>> <br>> You might also encounter this error when reading a SEGY <br>>file
with a illegal time value.<br>> <br>> Brian Savage<br>> savage@uri.edu<br>> <br>> On Oct 29, 2010, at 9:41 AM, Januka Attanayake
wrote:<br>> <br>>> Here's how I would do it with saclst in bash.<br>>><br>>> kztime=`saclst kztime f sacfile_name | gawk '{print
<br>>>$2}'`<br>>><br>>> Januka.<br>>><br>>> Serenity isn't freedom from the storm, but peace within <br>>>the
storm<br>>> Januka Attanayake<br>>> Global Seismology & Economics<br>>> The University of Connecticut<br>>> Beach Hall -
U2045<br>>> 354, Mansfield Rd;<br>>> Storrs, CT 06269<br>>> Tel : 860 486 0475
(Office)<br>>> 860 486 3914 (Lab - P405)<br>>> URL:
http://sites.google.com/site/janukaattanayake/<br>>><br>>><br>>><br>>><br>>><br>>><br>>><br>>> --- On
Fri, 10/29/10, Tuna Eken <ekent@gfz-potsdam.de> <br>>>wrote:<br>>><br>>> From: Tuna Eken
<ekent@gfz-potsdam.de><br>>> Subject: [SAC-HELP] A question regarding sac ERROR 907 <br>>>...<br>>> To:
sac-help@iris.washington.edu<br>>> Cc: ekent@gfz-potsdam.de<br>>> Date: Friday, October 29, 2010, 4:59 AM<br>>><br>>> Dear SAC
Users,<br>>><br>>> I have recently faced with a problem when processing on <br>>>the data header of one binary sac data
file.<br>>> To sum it up, when I read and want to list header info, <br>>>I have got the following type of error and<br>>> the rest
:<br>>><br>>> ERROR 907: Bad time field entry detected: 22 8 26 1432<br>>> NPTS
= 360000<br>>> B = 0.000000e+00<br>>>
E = 3.599990e+03<br>>> IFTYPE = TIME SERIES FILE<br>>> ERROR 0: LEVEN
= TRUE<br>>> DELTA = 1.000000e-02<br>>> IDEP = VELOCITY
(NM/SEC)<br>>> DEPMIN = 5.701760e+05<br>>> DEPMAX =
5.752970e+05<br>>> ERROR 0: DEPMEN =
5.730679e+05<br>>> KZDATE = MAR 30 (089), 2007<br>>> IZTYPE = BEGIN
TIME<br>>> KSTNM = IPA2<br>>> CMPAZ =
9.000000e+01<br>>> ERROR 0: CMPINC = 9.000000e+01<br>>><br>>>
............................................................<br>>> .......<br>>><br>>> Here at that point KZTIME information is
important for <br>>>my processing and most probably due<br>>> to that sort of error I can't see and grep it later on. <br>>>Is there
anyone who has idea how to get<br>>> the data header fixed or any trick on how to get KZTIME <br>>>information despite this
error?<br>>><br>>> I appreciate any suggestion on this matter ...<br>>><br>>><br>>><br>>> best
regards<br>>><br>>> tuna<br>>><br>>> -- <br>>> # # # # # # #<br>>>
Tuna Eken<br>>><br>>> Helmholtz-Zentrum Potsdam<br>>> Deutsches GeoForschungsZentrum GFZ<br>>><br>>> Telegrafenberg, D
409<br>>> D-14473 Potsdam/Germany<br>>> Tel.: +49 331 288-1322<br>>> Fax: +49 331 288-1328<br>>> E-Mail:
ekent@gfz-potsdam.de<br>>><br>>> -----Inline Attachment Follows-----<br>>><br>>>
_______________________________________________<br>>> sac-help mailing list<br>>> sac-help@iris.washington.edu<br>>>
http://www.iris.washington.edu/mailman/listinfo/sac-help<br>>><br>>> _______________________________________________<br>>> sac-help
mailing list<br>>> sac-help@iris.washington.edu<br>>> http://www.iris.washington.edu/mailman/listinfo/sac-help<br>>
<br><br></div>