Thread: (no subject)

Started: 2009-04-03 14:14:47
Last activity: 2009-04-04 00:30:58
Topics: SAC Help
MARÍALAURA ROSA
2009-04-03 14:14:47

Dear Sac user's,
I use SAC to analyze the seismogram, but when I use the sgftops conversion utility to convert the sgf file to ps file, it says that it cannot execute binary file.
I have found some examples on internet, where the command "sgftops" can be used directly in SAC.

SAC> r file.sac
SAC> bd sgf
SAC> p
SAC> sgftops f001.sgf figure.ps
sh:/usr/local/sac/bin/sgftops: cannot execute binary file

Can you give me some advices? Thank you so much.
Waiting to hearing from you.
María


Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


  • Onur Tan
    2009-04-04 00:30:58
    Dear Maria,

    Does your operating system agree with the sac-binary files?
    if it does,

    check the executable flag of the sgftops. You see someting like this

    -rwxr-xr-x 1 seismo seismo 17K May 20 2008 /usr/local/sac/bin//sgftops
    ^ ^ ^

    if there is no "x" flag use:
    chmod +x /usr/local/sac/bin/sgftops

    and re-run the program.

    onur


    Dr. Onur TAN |------------------------------------------------------------
    ------------- |
    | TÜBİTAK Marmara Araştırma Merkezi | TUBITAK Marmara Research Center |
    | Yer ve Deniz Bilimleri Enstitüsü | Earth and Marine Sciences Institute |
    | Gebze - Kocaeli | Gebze - Kocaeli - TURKEY |
    --------------------------------------------------------------------------


    -----Original Message-----
    From: sac-help-bounces<at>iris.washington.edu [sac-help-bounces<at>iris.washington.edu] On Behalf Of MARÍALAURA ROSA
    Sent: Friday, April 03, 2009 5:15 PM
    To: sac-help<at>iris.washington.edu
    Subject: [SAC-HELP] (no subject)


    Dear Sac user's,
    I use SAC to analyze the seismogram, but when I use the sgftops conversion utility to convert the sgf file to ps file, it says that it cannot execute binary file.
    I have found some examples on internet, where the command "sgftops" can be used directly in SAC.

    SAC> r file.sac
    SAC> bd sgf
    SAC> p
    SAC> sgftops f001.sgf figure.ps
    sh:/usr/local/sac/bin/sgftops: cannot execute binary file

    Can you give me some advices? Thank you so much.
    Waiting to hearing from you.
    María


    Yahoo! Cocina
    Recetas prácticas y comida saludable
    http://ar.mujer.yahoo.com/cocina/

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


Page built 05:34:06 | v.090361a2