Thread: get the header in ascii

Started: 2006-10-09 13:59:26
Last activity: 2006-10-10 20:17:59
Topics: SAC Help
Heloise.Cadet@ujf-grenoble.fr
2006-10-09 13:59:26

Good mornning

I'd like to know how to get the header of sac files into an ascii file?

thank you

Regards

Héloïse

  • andreas wessel
    2006-10-10 20:17:59
    Hello,

    There is a way to write ascii, but it's far from perfect, as it is kind of
    tricky to see which values belong to which variables.
    If you have the file in SAC memory, you can write it as ascii with

    SAC> WRITE ALPHA filename
    and then look at the values in your terminal, the header is at the beginning
    (it shows only the values, but not the names)

    $ head filename

    Please let me know if you find a better way to do this.


    Andreas



    On 10/9/06, Heloise.Cadet<at>ujf-grenoble.fr <Heloise.Cadet<at>ujf-grenoble.fr>
    wrote:


    Good mornning

    I'd like to know how to get the header of sac files into an ascii file?

    thank you

    Regards

    Héloïse
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


13:51:53 v.01697673