[SAC-HELP] A question regarding sac ERROR 907 ...

Januka Attanayake jattanayake at yahoo.com
Fri Oct 29 06:41:06 PDT 2010


Here's how I would do it with saclst in bash.

kztime=`saclst kztime f sacfile_name | gawk '{print $2}'`

Januka.

Serenity isn't freedom from the storm, but peace within the storm
  Januka Attanayake   Global Seismology & Economics
The University of Connecticut 
Beach Hall - U2045
354, Mansfield Rd; 
Storrs, CT 06269
Tel :  860 486 0475 (Office)
          860 486 3914 (Lab - P405)
    URL: http://sites.google.com/site/janukaattanayake/






--- On Fri, 10/29/10, Tuna Eken <ekent at gfz-potsdam.de> wrote:

From: Tuna Eken <ekent at gfz-potsdam.de>
Subject: [SAC-HELP] A question regarding sac ERROR 907 ...
To: sac-help at iris.washington.edu
Cc: ekent at gfz-potsdam.de
Date: Friday, October 29, 2010, 4:59 AM

Dear SAC Users,

I have recently faced with a problem when
processing on the data header of one binary sac data file.
To sum it up, when I read and want to list header info, I have got the following type of
error and


the rest :

 ERROR  907: Bad time field entry detected: 22 8 26 1432
       NPTS =
360000
          B = 0.000000e+00
          E =
3.599990e+03
     IFTYPE = TIME SERIES FILE
 ERROR    0:      LEVEN =
TRUE


      DELTA = 1.000000e-02
       IDEP = VELOCITY (NM/SEC)
    
DEPMIN = 5.701760e+05
     DEPMAX = 5.752970e+05
 ERROR    0:     DEPMEN =
5.730679e+05
     KZDATE = MAR 30 (089), 2007
     IZTYPE = BEGIN
TIME


      KSTNM = IPA2
      CMPAZ = 9.000000e+01
 ERROR   
0:     CMPINC = 9.000000e+01

............................................................ .......

Here at
that point KZTIME information is important for my processing and most probably due


to that sort of error I can't see and grep it later on. Is there anyone who has idea how to get
the data header fixed or any trick on how to get
KZTIME information despite this error?

I appreciate any suggestion on this matter ...





best regards

tuna

-- 

#    #    #    #    #    #    #
Tuna
Eken

Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ

Telegrafenberg, D 409
D-14473 Potsdam/Germany
Tel.: +49 331
288-1322
Fax: +49 331 288-1328
E-Mail: ekent at gfz-potsdam.de

-----Inline Attachment Follows-----

_______________________________________________
sac-help mailing list
sac-help at iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20101029/becf5ed4/attachment.html>


More information about the sac-help mailing list