Thread: NPTS info

Started: 2020-06-30 12:09:00
Last activity: 2020-07-01 12:36:40
Topics: SAC Help
sac mania
2020-06-30 12:09:00
Dear all,

Is there a way to write down NPTS info to a txt file ?

Thanks in advance.

Best regards
  • Milton Plasencia
    2020-06-30 21:32:21
    Hi,

    SAC distribution includes the command: saclst
    so, you can use it from the command line..

    saclst npts f sacfile > output.txt
    eg.

    saclst npts f /Users/milton/Temp/data/Mendoza/2016_01_04/mza_e.sac

    /Users/milton/Temp/data/Mendoza/2016_01_04/mza_e.sac 15361 15361/
    15361


    so, in this case the npts number is 15361

    HTH,

    Milton



    ************************************
    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 Jun 2020 at 21:08, sac mania (via IRIS) <
    sac-help-8952.48121-bounce<at>lists.ds.iris.edu> wrote:

    Dear all,

    Is there a way to write down NPTS info to a txt file ?

    Thanks in advance.

    Best regards

    ----------------------
    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/


    • sac mania
      2020-07-01 12:36:40
      Thank you so much :)
23:19:25 v.01697673