Thread: Polezero file

Started: 2010-09-24 18:02:20
Last activity: 2010-09-24 19:51:03
Topics: SAC Help
Samir L.
2010-09-24 18:02:20
Dear all,
I work currently with a python script which invokes SAC to process some data.
Since my database usually involves mseed files, I used "ms2sac" to convert them
to sac files.
However, I found out that during the processing steps Polezero files are also
needed.
Could someone tell me what are these files and how I can get them?
Thank you in advance,
Cheers,

Wik.



  • Sheila Peacock
    2010-09-24 19:51:03
    Dear Wik,


    Have you a "dataless SEED" file accompanying your miniSEED file?

    If so, then you can extract the poles and zeros from it in SAC
    format with "rdseed", which you can download from the IRIS website.

    Before running "rdseed", declare the environment variable
    ALT_RESPONSE_FILE to be the name of your dataless SEED file
    (so in "bash" you say "export ALT_RESPONSE_FILE=datalessSEEDfilename").

    Then run "rdseed" without any parameters, i.e. in interactive mode.
    Give it the name of your miniSEED file as
    the data file to use, and select option "d" (dump).

    When it prompts you "output poles & zeros", answer y (for "yes").

    It will create poles-and-zeros files with names beginning
    "SAC_PZs_" (it will also create SAC files of your data and
    "response" files with names beginning "RESP" containing filter
    information plus the poles and zeros again). The "SAC_PZs" files
    are in the right format for "transfer from polezero..." in SAC.

    Good luck,
    Sheila Peacock.



01:02:06 v.01697673