Thread: Sac's transfer command

Started: 2021-04-06 09:04:22
Last activity: 2021-04-06 20:08:05
Topics: SAC Help
Guust Nolet
2021-04-06 09:04:22
I am trying to correct Mermaid hydrophone seismograms for their instrument response, but encounter a problem with the polezero file.

I am running SEISMIC ANALYSIS CODE [03/05/2020 (Version 102.0)] on a Mac Powerbook. The forward conversion from ’none’ to
the instrument response works fine, but going backwards I get an error message. For example:

SAC> funcgen boxcar delta 0.05 npts 2048
SAC> p
SAC> trans from none to polezero S pzmm
Station (-12345 ), Channel (-12345 )
Using polezero response for , , , from pzmm
SAC> p
SAC> trans from polezero S pzmm to none
Using polezero response for , , , from pzmm
Station (-12345 ), Channel (-12345 )
Units: Unrecognized input units in polezero file (PASCAL)
SAC>


The file pzmm is as follows:

* Provisional pole-zero file
* INPUT UNIT : PASCAL
* OUTPUT UNIT : COUNTS
POLES 4
-1.5642 0.0000
0.18502 0.0000
-1.0260 1.2927
-1.0260 -1.2927
ZEROS 4
0.0000 0.0000
0.58027 0.0000
-1.2618 -1.2083
-1.2618 1.2083
CONSTANT 8.65e04

Changing 'PASCAL' to 'NONE' in this file did not solve it either.

Does anyone see what I am doing wrong?

Thanks in advance,
Guust Nolet


  • Brian Savage
    2021-04-06 14:08:27
    Guust,

    Thanks for reporting this and you are not doing anything wrong.

    The line that starts with “Units: Unrecognized ….“ is informational and does not alter the output.

    If you are getting unexpected output in the data, please let us know.

    More details:
    In TRANSFER If the TO type is “none”, “vel”, or “acc” sac will try to print out the information about the units.
    - If evalresp file is used, sac will print nm, nm/s, or nm/s^2 always (dependent on the desired output)
    - If a pole zero file was used and the its “Input” units were “meters", “meter", or “m” it will print m, m/s or m/s^2 (dependent on the desired output)
    - Any other unit is “Unrecognized” and “Input units not defined” will be reported if the pole zero file does not specify the units.

    I hope that helps.

    This change was done to make sure users understood what the units are after a transfer. It is not perfect, but it covers a primary use case. The big historical issue is the difference between evalresp, pole zero files, and what sac assumed the units were (nanometers).

    Brian


    On Apr 6, 2021, at 1:06 PM, Guust Nolet (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:

    I am trying to correct Mermaid hydrophone seismograms for their instrument response, but encounter a problem with the polezero file.

    I am running SEISMIC ANALYSIS CODE [03/05/2020 (Version 102.0)] on a Mac Powerbook. The forward conversion from ’none’ to
    the instrument response works fine, but going backwards I get an error message. For example:

    SAC> funcgen boxcar delta 0.05 npts 2048
    SAC> p
    SAC> trans from none to polezero S pzmm
    Station (-12345 ), Channel (-12345 )
    Using polezero response for , , , from pzmm
    SAC> p
    SAC> trans from polezero S pzmm to none
    Using polezero response for , , , from pzmm
    Station (-12345 ), Channel (-12345 )
    Units: Unrecognized input units in polezero file (PASCAL)
    SAC>


    The file pzmm is as follows:

    * Provisional pole-zero file
    * INPUT UNIT : PASCAL
    * OUTPUT UNIT : COUNTS
    POLES 4
    -1.5642 0.0000
    0.18502 0.0000
    -1.0260 1.2927
    -1.0260 -1.2927
    ZEROS 4
    0.0000 0.0000
    0.58027 0.0000
    -1.2618 -1.2083
    -1.2618 1.2083
    CONSTANT 8.65e04

    Changing 'PASCAL' to 'NONE' in this file did not solve it either.

    Does anyone see what I am doing wrong?

    Thanks in advance,
    Guust Nolet


    ----------------------
    SAC Help
    Topic home: https://urldefense.proofpoint.com/v2/url?u=http-3A__ds.iris.edu_message-2Dcenter_topic_sac-2Dhelp_&d=DwICAg&c=dWz0sRZOjEnYSN4E4J0dug&r=xlrnQuY_RWoRIvnCDJ5AfQ&m=_8wc1bQb0VsAfqPwauJ87di6D2gjd0WB18zqtN2Y5cA&s=hxPVMT_tD7afCiKYdd7YMGGYYgftJw0XF6vRVDJpbrA&e= | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

    Sent from the IRIS Message Center (https://urldefense.proofpoint.com/v2/url?u=http-3A__ds.iris.edu_message-2Dcenter_&d=DwICAg&c=dWz0sRZOjEnYSN4E4J0dug&r=xlrnQuY_RWoRIvnCDJ5AfQ&m=_8wc1bQb0VsAfqPwauJ87di6D2gjd0WB18zqtN2Y5cA&s=ycnHKgNz47gcPG0nhXjpOBJ0xHr3IeWW-jYUVGAyTXM&e= )
    Update subscription preferences at https://urldefense.proofpoint.com/v2/url?u=http-3A__ds.iris.edu_account_profile_&d=DwICAg&c=dWz0sRZOjEnYSN4E4J0dug&r=xlrnQuY_RWoRIvnCDJ5AfQ&m=_8wc1bQb0VsAfqPwauJ87di6D2gjd0WB18zqtN2Y5cA&s=9_0br2fclkb-FrSMyvgfzLEyRh85W8bpt_PoQoAq5PA&e=



  • Milton Plasencia
    2021-04-06 20:08:05
    Hi Guust,

    If you change the input unit in your polezero file (pzmm) from PASCAL to M
    (meters) for example
    it works...

    Seems that PASCAL is not recognized as unit input by the transfer command.

    HTH,

    Milton

    ----------------------------
    Milton P. Plasencia Linares
    mpplasencia@ <mplasencia<at>inogs.it>gmail.com



    On Tue, Apr 6, 2021 at 7:11 PM Guust Nolet (via IRIS) <
    sac-help-bounce<at>lists.ds.iris.edu> wrote:

    I am trying to correct Mermaid hydrophone seismograms for their instrument
    response, but encounter a problem with the polezero file.

    I am running SEISMIC ANALYSIS CODE [03/05/2020 (Version 102.0)] on a Mac
    Powerbook. The forward conversion from ’none’ to
    the instrument response works fine, but going backwards I get an error
    message. For example:

    SAC> funcgen boxcar delta 0.05 npts 2048
    SAC> p
    SAC> trans from none to polezero S pzmm
    Station (-12345 ), Channel (-12345 )
    Using polezero response for , , , from pzmm
    SAC> p
    SAC> trans from polezero S pzmm to none
    Using polezero response for , , , from pzmm
    Station (-12345 ), Channel (-12345 )
    Units: Unrecognized input units in polezero file (PASCAL)
    SAC>


    The file pzmm is as follows:

    * Provisional pole-zero file
    * INPUT UNIT : PASCAL
    * OUTPUT UNIT : COUNTS
    POLES 4
    -1.5642 0.0000
    0.18502 0.0000
    -1.0260 1.2927
    -1.0260 -1.2927
    ZEROS 4
    0.0000 0.0000
    0.58027 0.0000
    -1.2618 -1.2083
    -1.2618 1.2083
    CONSTANT 8.65e04

    Changing 'PASCAL' to 'NONE' in this file did not solve it either.

    Does anyone see what I am doing wrong?

    Thanks in advance,
    Guust Nolet


    ----------------------
    SAC Help
    Topic home: http://ds.iris.edu/message-center/topic/sac-help/ |
    Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu

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


15:58:22 v.22510d55