Thread: sac macros

Started: 2013-03-04 21:25:53
Last activity: 2013-03-05 04:11:09
Topics: SAC Help
Juan Bermudez
2013-03-04 21:25:53
Hi everybody,

May be somebody can help whit this...
I the professor Ammon' note, there is a sac macro, and there is a line wich
says "rh $1$.LHZ", i dont understand what does it mean!!

fileid l ul
fileid t l kcmpnm
fileid on
title on
gt s si t
qdp 1200
rh $1$.LHZ
*
* MAKE A NICE TITLE
*
evaluate to c &1,dist + 0.5
evaluate to r ( INT %c )
setbb rs ( before ’.’ ’ %r ’ )
evaluate to c &1,az + 0.5
evaluate to a1 ( INT %c )
setbb a2 ( before ’.’ ’ %a1 ’ )
title’(concatenate’&1,kstnm’’,r=’ ’%rskm’’,az=’’%a2’)’ xlabel "Time @(s@)"
ylabel "Velocity @(counts@)"
here is a fragment of the code!!!

thanks!!!!

--

  • Milton Plasencia
    2013-03-05 04:11:09
    Hi,

    Give a lok in Concatenation part of the:

    http://www.iris.edu/manuals/sac/SAC_Manuals/SACMacros.html

    HTH,

    Milton


    * * * * * * * * * * * * * * * * * * * * * * *
    Milton P. PLASENCIA LINARES

    Centro di Ricerche Sismologiche (CRS)
    Istituto Nazionale di Oceanografia e di Geofisica Sperimentale - OGS

    Borgo Grotta Gigante 42/C
    (34010) Sgonico - TRIESTE - ITALIA
    Tel: +39 040 2140 141 (Udine)
    Tel: +39 040 2140 256 (Trieste)
    Fax: +39-040-327307

    E-mail: mplasencia<at>inogs.it

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








    On Mar 4, 2013, at 7:25 PM, Juan Carlos Bermudez Barrios <jcbermudezb<at>gmail.com> wrote:

    Hi everybody,

    May be somebody can help whit this...
    I the professor Ammon' note, there is a sac macro, and there is a line wich says "rh $1$.LHZ", i dont understand what does it mean!!

    fileid l ul
    fileid t l kcmpnm
    fileid on
    title on
    gt s si t
    qdp 1200
    rh $1$.LHZ
    *
    * MAKE A NICE TITLE
    *
    evaluate to c &1,dist + 0.5
    evaluate to r ( INT %c )
    setbb rs ( before ’.’ ’ %r ’ )
    evaluate to c &1,az + 0.5
    evaluate to a1 ( INT %c )
    setbb a2 ( before ’.’ ’ %a1 ’ )
    title’(concatenate’&1,kstnm’’,r=’ ’%rskm’’,az=’’%a2’)’ xlabel "Time @(s@)"
    ylabel "Velocity @(counts@)"

    here is a fragment of the code!!!

    thanks!!!!

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


Page built 06:46:39 | v.b'ea7a92