Thread:

Started: 2008-10-08 14:43:01
Last activity: 2008-10-08 17:17:08
Topics: SAC Developers
Sheila Peacock
2008-10-08 14:43:01
Dear All,

I sent this to SAC-help and got only one reply from someone else
who had had the same problem, but no solution. Since you are
working on the latest edition, I'm wondering if you have come
across, and addressed, this problem.

Regards,
Sheila.


-------- Original Message --------
Subject: GSE writing
Date: Tue, 30 Sep 2008 08:05:05 +0100
From: Sheila Peacock <sheila<at>blacknest.gov.uk>
Organization: AWE Blacknest
To: sac-help<at>iris.washington.edu

Dear All,

SAC v. 101.1 either fails or crashes when I try to use "writegse". SAC v. 100 is OK
with writegse. Is this a known bug?

Regards,
Sheila Peacock.

SAC v. 100 (is OK)
$ sacb
SEISMIC ANALYSIS CODE [03/01/2005 (Version 100.00)]
Copyright 1995 Regents of the University of California

SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
SAC> writegse 198608011403COL.gse.int
Converting waveforms .
Writing station data .
Writing channel data .
Writing arrival data .
1 waveforms written in 198608011403COL.gse.int
SAC> end


SAC v. 101.1 fails:

$ sac1011
SEISMIC ANALYSIS CODE [01/19/2008 (Version 101.1)]
Copyright 1995 Regents of the University of California

SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
SAC> writegse 198608011403COL.gse.int
Segmentation fault


or.... (trying various parameters in the parameter list)

SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
SAC> writegse int 198608011403COL.gse.int
ERROR 1312: Bad number of files in write file list:
SAC> writegse int source off 198608011403COL.gse.int
ERROR 1312: Bad number of files in write file list:
SAC> writegse int source off commit 198608011403COL.gse.int
ERROR 1312: Bad number of files in write file list:

$ sac1011
SEISMIC ANALYSIS CODE [01/19/2008 (Version 101.1)]
Copyright 1995 Regents of the University of California

SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
SAC> writegse CM6 198608011403COL.gse.cm6
Segmentation fault


  • Brian Savage
    2008-10-08 16:46:48
    Sheila,

    I just checked versions 101.2 and 101.1 on my machine.
    It looks like 101.2 works, 101.1 does not.
    I will look further into this for a better answer.

    This bug was not known about. Thank you for being persistent. :)

    Cheers
    Brian
    savage<at>uri.edu


    On Oct 8, 2008, at 2:43 AM, Sheila Peacock wrote:

    Dear All,

    I sent this to SAC-help and got only one reply from someone else
    who had had the same problem, but no solution. Since you are
    working on the latest edition, I'm wondering if you have come
    across, and addressed, this problem.

    Regards,
    Sheila.


    -------- Original Message --------
    Subject: GSE writing
    Date: Tue, 30 Sep 2008 08:05:05 +0100
    From: Sheila Peacock <sheila<at>blacknest.gov.uk>
    Organization: AWE Blacknest
    To: sac-help<at>iris.washington.edu

    Dear All,

    SAC v. 101.1 either fails or crashes when I try to use "writegse".
    SAC v. 100 is OK
    with writegse. Is this a known bug?

    Regards,
    Sheila Peacock.

    SAC v. 100 (is OK)
    $ sacb
    SEISMIC ANALYSIS CODE [03/01/2005 (Version 100.00)]
    Copyright 1995 Regents of the University of California

    SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
    SAC> writegse 198608011403COL.gse.int
    Converting waveforms .
    Writing station data .
    Writing channel data .
    Writing arrival data .
    1 waveforms written in 198608011403COL.gse.int
    SAC> end


    SAC v. 101.1 fails:

    $ sac1011
    SEISMIC ANALYSIS CODE [01/19/2008 (Version 101.1)]
    Copyright 1995 Regents of the University of California

    SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
    SAC> writegse 198608011403COL.gse.int
    Segmentation fault


    or.... (trying various parameters in the parameter list)

    SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
    SAC> writegse int 198608011403COL.gse.int
    ERROR 1312: Bad number of files in write file list:
    SAC> writegse int source off 198608011403COL.gse.int
    ERROR 1312: Bad number of files in write file list:
    SAC> writegse int source off commit 198608011403COL.gse.int
    ERROR 1312: Bad number of files in write file list:

    $ sac1011
    SEISMIC ANALYSIS CODE [01/19/2008 (Version 101.1)]
    Copyright 1995 Regents of the University of California

    SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
    SAC> writegse CM6 198608011403COL.gse.cm6
    Segmentation fault

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


    • Brian Savage
      2008-10-08 17:17:08
      Shelia,

      After a bit of looking ...

      The SeisMgr database in SAC is responsible for writing GSE files.
      If the SeisMgr database is off the writing of GSE files fails.

      Version: If SeisMgr database on by default
      v100.0: On
      v101.1: Off (writegse fails)
      v101.2: On

      The SeisMgr database should is now be on by default in v101.2 as well
      as in future versions.

      To turn on the database set the environment variable in sh or csh (in
      v101.1 and later)
      sh% export SAC_USE_DATABASE=1
      csh% setenv SAC_USE_DATABASE 1

      Sorry for the headaches.

      Cheers
      Brian


      On Oct 8, 2008, at 9:46 AM, Brian Savage wrote:

      Sheila,

      I just checked versions 101.2 and 101.1 on my machine.
      It looks like 101.2 works, 101.1 does not.
      I will look further into this for a better answer.

      This bug was not known about. Thank you for being persistent. :)

      Cheers
      Brian
      savage<at>uri.edu


      On Oct 8, 2008, at 2:43 AM, Sheila Peacock wrote:

      Dear All,

      I sent this to SAC-help and got only one reply from someone else
      who had had the same problem, but no solution. Since you are
      working on the latest edition, I'm wondering if you have come
      across, and addressed, this problem.

      Regards,
      Sheila.


      -------- Original Message --------
      Subject: GSE writing
      Date: Tue, 30 Sep 2008 08:05:05 +0100
      From: Sheila Peacock <sheila<at>blacknest.gov.uk>
      Organization: AWE Blacknest
      To: sac-help<at>iris.washington.edu

      Dear All,

      SAC v. 101.1 either fails or crashes when I try to use
      "writegse". SAC v. 100 is OK
      with writegse. Is this a known bug?

      Regards,
      Sheila Peacock.

      SAC v. 100 (is OK)
      $ sacb
      SEISMIC ANALYSIS CODE [03/01/2005 (Version 100.00)]
      Copyright 1995 Regents of the University of California

      SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
      SAC> writegse 198608011403COL.gse.int
      Converting waveforms .
      Writing station data .
      Writing channel data .
      Writing arrival data .
      1 waveforms written in 198608011403COL.gse.int
      SAC> end


      SAC v. 101.1 fails:

      $ sac1011
      SEISMIC ANALYSIS CODE [01/19/2008 (Version 101.1)]
      Copyright 1995 Regents of the University of California

      SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
      SAC> writegse 198608011403COL.gse.int
      Segmentation fault


      or.... (trying various parameters in the parameter list)

      SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
      SAC> writegse int 198608011403COL.gse.int
      ERROR 1312: Bad number of files in write file list:
      SAC> writegse int source off 198608011403COL.gse.int
      ERROR 1312: Bad number of files in write file list:
      SAC> writegse int source off commit 198608011403COL.gse.int
      ERROR 1312: Bad number of files in write file list:

      $ sac1011
      SEISMIC ANALYSIS CODE [01/19/2008 (Version 101.1)]
      Copyright 1995 Regents of the University of California

      SAC> r 1986.213.14.03.12.3600.DW.COL..SHZ.D.SAC
      SAC> writegse CM6 198608011403COL.gse.cm6
      Segmentation fault

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

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


21:34:05 v.b3198453