Thread: sonogram and spectrogram problem_2nd email

Started: 2009-09-15 06:40:41
Last activity: 2009-09-15 18:14:52
Topics: SAC Help
Omar Afif
2009-09-15 06:40:41
I have tried many times sonogram and spectrogram functions in SAC_Linux ver(00.59.44), but unfortunately I have gotten massages below then SAC has crashed.
========================================SAC> read test_123456.sac
 
SAC> sonogram
Window size: 200 Overlap: 100 FFT size: 512
Warning: ORDER begin reset to 1/2 length of correlation window.
ORDER = 100
Spectrogram dimensions are 512 by 343 .
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 72 (X_PutImage)
Serial number of failed request: 66
Current serial number in output stream: 68
=======================================
 
Could any one advise me or help me to solve this serious problem, please?!
 
Hot regards,
 ==================
|  Omar H. Afif                            |
|  P.O. Box: 5302                       |
|  Dhahran: 31311                    |
|  Saudi Arabia                          |
|  Mobile: +966 5 546 08578 |
==================




  • George Helffrich
    2009-09-15 15:21:37
    Dear List -

    I suspect this is due to the lack of TrueColor support in the X
    support in SAC2000. If correct, you'll get the same result any time
    you use color -- is this true? Experiment and see.

    You can avoid triggering the color problem by plotting in black and
    white using 'spectrogram gray' or 'spectrogram xyz' and then contouring
    the resulting xyz file.

    You might be able to configure your X server not to provide a
    TrueColor screen choice. This is a black art, not for novices, but you
    might have some success by that route. (I can provide no advice -- X
    installations vary widely, and you'll have to consult your own
    distribution manuals.)

    If you have access to a Mac, you could also use MacSAC which has
    TrueColor support and which also has a functioning spectrogram command.

    On 15 Sep 2009, at 07:40, Omar Afif wrote:

    I have tried many times sonogram and spectrogram functions in
    SAC_Linux ver(00.59.44), but unfortunately I have gotten massages
    below then SAC has crashed.
    ========================================

    SAC> read test_123456.sac

    SAC> sonogram
    Window size: 200 Overlap: 100 FFT size: 512
    Warning: ORDER begin reset to 1/2 length of correlation window.
    ORDER = 100
    Spectrogram dimensions are 512 by 343 .
    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 72 (X_PutImage)
    Serial number of failed request: 66
    Current serial number in output stream: 68
    =======================================

    Could any one advise me or help me to solve this serious problem,
    please?!

    Hot regards,



    ==================
    |  Omar H. Afif                            |
    |  P.O. Box: 5302                       |
    |  Dhahran: 31311                    |
    |  Saudi Arabia                          |
    |  Mobile: +966 5 546 08578 |
    ==================



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

    George Helffrich
    george<at>geology.bristol.ac.uk

    • Brian Savage
      2009-09-15 18:14:52

      Along the lines that George suggested. Upgrading to a newer version
      of sac should solve your issue. The problem you are experiencing was
      fixed in SAC version 100.1 in 2005 ( 101.0 in 2007 ). Using either
      SAC distributed by IRIS or MacSac should solve your problems.

      Brian Savage
      savage<at>uri.edu

      On Sep 15, 2009, at 3:21 AM , George Helffrich wrote:

      Dear List -

      I suspect this is due to the lack of TrueColor support in the X
      support in SAC2000. If correct, you'll get the same result any time
      you use color -- is this true? Experiment and see.

      You can avoid triggering the color problem by plotting in black and
      white using 'spectrogram gray' or 'spectrogram xyz' and then
      contouring the resulting xyz file.

      You might be able to configure your X server not to provide a
      TrueColor screen choice. This is a black art, not for novices, but
      you might have some success by that route. (I can provide no advice
      -- X installations vary widely, and you'll have to consult your own
      distribution manuals.)

      If you have access to a Mac, you could also use MacSAC which has
      TrueColor support and which also has a functioning spectrogram
      command.

      On 15 Sep 2009, at 07:40, Omar Afif wrote:

      I have tried many times sonogram and spectrogram functions in
      SAC_Linux ver(00.59.44), but unfortunately I have gotten massages
      below then SAC has crashed.
      ========================================

      SAC> read test_123456.sac

      SAC> sonogram
      Window size: 200 Overlap: 100 FFT size: 512
      Warning: ORDER begin reset to 1/2 length of correlation window.
      ORDER = 100
      Spectrogram dimensions are 512 by 343 .
      X Error of failed request: BadMatch (invalid parameter attributes)
      Major opcode of failed request: 72 (X_PutImage)
      Serial number of failed request: 66
      Current serial number in output stream: 68
      =======================================

      Could any one advise me or help me to solve this serious problem,
      please?!

      Hot regards,



      ==================
      | Omar H. Afif |
      | P.O. Box: 5302 |
      | Dhahran: 31311 |
      | Saudi Arabia |
      | Mobile: +966 5 546 08578 |
      ==================



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

      George Helffrich
      george<at>geology.bristol.ac.uk
      _______________________________________________
      sac-help mailing list
      sac-help<at>iris.washington.edu
      http://www.iris.washington.edu/mailman/listinfo/sac-help


Page built 07:29:23 | v.b'ea7a92