Thread: Problem with PPK OHPF and CHPF

Started: 2021-03-30 14:28:15
Last activity: 2021-04-09 07:16:04
Topics: SAC Help
massa@unisannio.it
2021-03-30 14:28:15
Dear All,
I am using the last SAC version on OSX 10.11.6 and I am running into some problems. Following I report a synthesis.

Using ppk perplot … markall on and ohpf:

If I pick P and S waves I can see, in the graphic window (Xquartz), only information about P waves. Moreover, if I write “ohpf NAME.txt” and then “chpf” the .txt file contains only the closing row “10”.
How can I see, in the graphic window , also info about S waves?
How can I write in a text file info about picked waves for HYPO71?

This is what, exactly, I do:

ppk perplot 3 markall on
ohpf test.txt
ppk perplot 3 markall on
(picking is done, P and S waves are marked on the traces, but only info about P waves are written at the top of the graphs)
chpf
(in the test.txt file is written only “10” and info about P and S waves picking are missing)

What is wrong?

Thank you for you kind attention!

Bruno Massa
  • Milton Plasencia
    2021-03-30 20:16:38
    Ciao Bruno,

    Please, follow the commands:
    i use apf (alphanumeric file)

    sac> oapf aa
    sac> funcgen seismograms
    sac>ppk
    with cursor pick P pressing P and then press l for amplitudes
    with cursor pick S pressing S and then press l for amplitudes
    Press q to exit of ppk
    sac> capf aa

    I attach the aa file and the ppk graphics of picking

    [image: Screenshot 2021-03-30 at 20.03.16.png]

    I hope this helps you, i have not tried with ohpf, but you can do it.

    m.
    ************************************
    Milton P. PLASENCIA LINARES
    Istituto Nazionale di Oceanografia e di Geofisica Sperimentale - OGS
    Borgo Grotta Gigante 42/C
    (34010) Sgonico - Trieste - Italia
    Tel: +39 040 2140 156 (Udine)
    Tel: +39 040 2140 256 (Trieste)
    Cell.: +39 331 6481 935

    E-mail: mplasencia<at>inogs.it

    Antarctic Seismographic Argentinean Italian Network (ASAIN)
    **************************************


    On Tue, 30 Mar 2021 at 18:44, massa<at>unisannio.it (via IRIS) <
    sac-help-bounce<at>lists.ds.iris.edu> wrote:

    Dear All,
    I am using the last SAC version on OSX 10.11.6 and I am running into some
    problems. Following I report a synthesis.

    Using ppk perplot … markall on and ohpf:

    If I pick P and S waves I can see, in the graphic window (Xquartz), only
    information about P waves. Moreover, if I write “ohpf NAME.txt” and then
    “chpf” the .txt file contains only the closing row “10”.
    How can I see, in the graphic window , also info about S waves?
    How can I write in a text file info about picked waves for HYPO71?

    This is what, exactly, I do:

    ppk perplot 3 markall on
    ohpf test.txt
    ppk perplot 3 markall on
    (picking is done, P and S waves are marked on the traces, but only info
    about P waves are written at the top of the graphs)
    chpf
    (in the test.txt file is written only “10” and info about P and S waves
    picking are missing)

    What is wrong?

    Thank you for you kind attention!

    Bruno Massa

    ----------------------
    SAC Help
    Topic home: 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/


    • massa@unisannio.it
      2021-04-01 05:35:32
      Caro Milton,
      I successfully use your approach with OAPF.
      Unfortunately, it does not operate with OHPF: the generated HPF file still contains only the instruction card "10”.

      Thank you very much for your help!

      Bruno
  • Arthur Snoke
    2021-04-09 07:16:04
    Bruno,

    Sorry for the delay, but doing taxes took priority.

    What you missed is that before entering q in ppk, you must enter h.

    From plotpktable

          h If CHPF precedes call to PLOTPK, write picks to HYPO pick file {3,4}.

    SAC> ohpf hpf-test
    SAC> fg seismo
    SAC> ppk [I picked a P and an S then entered h then q]
    SAC> chpf
    SAC> cat hpf-test
    CDV IPU0 81 329103824.46 26.49ISN0
    10
    SAC>

    This is done in v102.0.

    (I know, it is not really S.)

    Arthur

    On 3/30/21 12:39 PM, massa<at>unisannio.it (via IRIS) wrote:
    ear All,
    I am using the last SAC version on OSX 10.11.6 and I am running into some problems. Following I report a synthesis.

    Using ppk perplot … markall on and ohpf:

    If I pick P and S waves I can see, in the graphic window (Xquartz), only information about P waves. Moreover, if I write “ohpf NAME.txt” and then “chpf” the .txt file contains only the closing row “10”.
    How can I see, in the graphic window , also info about S waves?
    How can I write in a text file info about picked waves for HYPO71?

    This is what, exactly, I do:

    ppk perplot 3 markall on
    ohpf test.txt
    ppk perplot 3 markall on
    (picking is done, P and S waves are marked on the traces, but only info about P waves are written at the top of the graphs)
    chpf
    (in the test.txt file is written only “10” and info about P and S waves picking are missing)

    What is wrong?

    Thank you for you kind attention!


08:15:07 v.01697673