Thread: remove instrument response

Started: 2010-08-07 21:52:06
Last activity: 2010-08-09 19:52:10
Topics: SAC Help
Tao Huang
2010-08-07 21:52:06
Hello everyone:

I use sac command 'transfer' to remove the instrument response.
SAC>r 2008.001.18.1.sac
SAC> transfer from polezero subtype pozeht01 to none
ERROR 1:
SAC>
then I get a signal which has been removed the instrument response,I don't weather it really work
,and as you see,a ERROR 1: happened,
I don't know why this will happen,who can give me some suggestions!

Thank you!
Tao Huang
Nanjing University



  • Brian Savage
    2010-08-09 19:52:10
    Dear Tao Huang,

    I think you may have extra characters in your polezero file.

    Please run:

    % od -c pozeht01

    If you have extra characters, you will see \r or \r \n in the output.
    The \r is a Carriage Return and \n is a Line feed. If you have these
    you can remove them in a variety of ways. If you have dos2unix on
    your machine, use this or try

    % tr -d '\r' < inputfile > outputfile

    See: http://en.wikipedia.org/wiki/Newline

    If you only have \n and not \r, then this is a different problem that
    we should be able to handle.

    Brian
    savage<at>uri.edu

    On Aug 7, 2010, at 2:52 AM , 黄韬 wrote:

    Hello everyone:

    I use sac command 'transfer' to remove the instrument response.
    SAC>r 2008.001.18.1.sac
    SAC> transfer from polezero subtype pozeht01 to none
    ERROR 1:
    SAC>
    then I get a signal which has been removed the instrument response,I
    don't weather it really work
    ,and as you see,a ERROR 1: happened,
    I don't know why this will happen,who can give me some suggestions!

    Thank you!
    Tao Huang
    Nanjing University





    您想拥有和网易免费邮箱一样强大的软件吗?
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help



19:45:45 v.f0c1234e