Thread: saveimg

Started: 2017-07-28 00:36:42
Last activity: 2017-07-28 17:18:46
Topics: SAC Help
Ralph Archuleta
2017-07-28 00:36:42
I use saveimg to create a .pdf. Every indication is that the pdf file is
saved. However, it does not exist (see below). I also tried to save as .ps
but got a Segmentation Fault. Any suggestions would be helpful.

SAC> p1
SAC> saveimg testplot.pdf
save file testplot.pdf [PDF]
SAC> ls te*
ls: cannot access te*: No such file or directory
SAC> ls *.pdf
ls: cannot access *.pdf: No such file or directory

Ralph Archuleta

  • Geo .
    2017-07-28 17:18:46
    Hi Ralph,
    The said function works for me in SAC version 101.6. See below,

    SAC> r *.SAC
    179.50_liq_liq.VEL.SAC STF_DIS.SAC
    SAC> p1
    SAC> saveimg seismogram.pdf
    save file seismogram.pdf [PDF]
    SAC> ls *.pdf
    seismogram.pdf
    SAC> saveimg seismogram.ps
    save file seismogram.ps [PS]
    SAC> ls *.ps
    seismogram.ps

    Do you have write access to the folder? If saveimg keeps failing, you could
    try to save the figure the old-fashioned way as follows?

    SAC> P
    SAC> BD SGF
    SAC> P1
    SAC> ED SGF
    SAC> ls *(find the newly created file in the working dir, e.g. f001.sgf)
    SAC> SGFTOPS f001.sgf f001.ps

    Januka.


    Januka Attanayake
    Postdoctoral Research Associate

    Institute for Geophysics
    WWU Münster | CorrensstraBe 24 | 48149 Münster | Germany
    Tel +49 251 833 4727

    University email: jattanayake<at>uni-muenster.de
    Homepage: http://sites.google.com/site/janukaattanayake/

    On 28 July 2017 at 02:38, Ralph Archuleta <ralph.archuleta<at>ucsb.edu> wrote:

    I use saveimg to create a .pdf. Every indication is that the pdf file is
    saved. However, it does not exist (see below). I also tried to save as .ps
    but got a Segmentation Fault. Any suggestions would be helpful.

    SAC> p1
    SAC> saveimg testplot.pdf
    save file testplot.pdf [PDF]
    SAC> ls te*
    ls: cannot access te*: No such file or directory
    SAC> ls *.pdf
    ls: cannot access *.pdf: No such file or directory

    Ralph Archuleta


    ----------------------
    SAC Help | http://ds.iris.edu/message-center/topic/sac-help/ |
    Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

    Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
    Update subscription preferences at http://ds.iris.edu/account/profile/



10:35:43 v.b3198453