Thread: Retrieving amplitude at time T

Started: 2016-11-25 20:28:29
Last activity: 2016-11-28 18:12:37
Topics: SAC Help
Geo .
2016-11-25 20:28:29
Hi,
Could someone please tell me how I could retrieve amplitude at a user
defined time in a SAC file and read it into memory using SETBB? Sounds easy
but I couldn't find a way to do it. MARKVALUE gives you time stamps and not
amplitude.

Thanks !

Januka

Januka Attanayake
Postdoctoral Research Associate

Institut für Geophysik
Westfälische Wilhelms - Universität Münster
CorrensstraBe 24
48149 Münster
Germany

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

  • George Helffrich
    2016-11-28 18:12:37
    Dear All -

    The "(GETVAL xx)” or “(GETVAL FILE n xx)” built-in function returns this in the version of SAC documented in the SAC book (see Table 5.1).

    On 25 Nov 2016, at 20:29, Geo . <jattanayake<at>gmail.com> wrote:

    Hi,
    Could someone please tell me how I could retrieve amplitude at a user defined time in a SAC file and read it into memory using SETBB? Sounds easy but I couldn't find a way to do it. MARKVALUE gives you time stamps and not amplitude.

    Thanks !

    Januka

    Januka Attanayake
    Postdoctoral Research Associate

    Institut für Geophysik
    Westfälische Wilhelms - Universität Münster
    CorrensstraBe 24
    48149 Münster
    Germany

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

    ----------------------
    SAC Help (http://ds.iris.edu/message-center/topic/sac-help/)

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



    George Helffrich
    george<at>elsi.jp


    • Geo .
      2016-11-28 18:00:07
      Thanks George! IRIS version does not seem to have this feature that macSAC
      (?) has.

      Januka.

      Januka Attanayake
      Postdoctoral Research Associate

      Institut für Geophysik
      Westfälische Wilhelms - Universität Münster
      CorrensstraBe 24
      48149 Münster
      Germany

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

      On 28 November 2016 at 02:12, George Helffrich (ELSI) <george<at>elsi.jp>
      wrote:

      Dear All -

      The "(GETVAL xx)” or “(GETVAL FILE n xx)” built-in function returns this
      in the version of SAC documented in the SAC book (see Table 5.1).

      On 25 Nov 2016, at 20:29, Geo . <jattanayake<at>gmail.com> wrote:

      Hi,
      Could someone please tell me how I could retrieve amplitude at a user
      defined time in a SAC file and read it into memory using SETBB? Sounds easy
      but I couldn't find a way to do it. MARKVALUE gives you time stamps and not
      amplitude.

      Thanks !

      Januka

      Januka Attanayake
      Postdoctoral Research Associate

      Institut für Geophysik
      Westfälische Wilhelms - Universität Münster
      CorrensstraBe 24
      48149 Münster
      Germany

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

      ----------------------
      SAC Help (http://ds.iris.edu/message-center/topic/sac-help/)

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




      George Helffrich
      george<at>elsi.jp



08:01:22 v.01697673