Thread: data time correction

Started: 2022-12-12 22:08:07
Last activity: 2023-01-30 19:51:18
Kung, Yu-Long [US-US]
2022-12-12 22:08:07
Dear Data Processing team,

Recently, I work on the data downloaded from IRIS DMC in MiniSEED format and response metadata in GeoCSV format, xml format and/or RESP format.

Are Data in MiniSEED format already with time correction applied?
In a RESP file, different stages might have non-zero "Correction applied (seconds)" values.
Ex: for IU.ANMO..BHZ response
...

B050F03 Station: ANMO
B050F16 Network: IU
B052F03 Location: ??
B052F04 Channel: BHZ
B052F22 Start date: 1995,195,00:00:00
B052F23 End date: 1998,299,20:00:00

B057F03 Stage sequence number: 1
B057F08 Correction applied (seconds): +0.0000E+00

B057F03 Stage sequence number: 2
B057F08 Correction applied (seconds): +0.0000E+00

B057F03 Stage sequence number: 3
B057F08 Correction applied (seconds): +6.0000E-03

B057F03 Stage sequence number: 4
B057F08 Correction applied (seconds): +7.7000E-02

B057F03 Stage sequence number: 5
B057F08 Correction applied (seconds): +3.7900E-01

B057F03 Stage sequence number: 6
B057F08 Correction applied (seconds): +7.6000E-01



Is it correct if I assign CSS SENSOR.TSHIFT field to zero for all data returned in MiniSEED format?

Thanks
Yu-Long



  • Gillian Sharer
    2023-01-26 18:16:21
    Dear Yu-long,

    Apologies for our delay in responding to your earlier email. You are
    correct that you do not need to apply time corrections to this miniseed
    data. For these fields in the RESP file, the data logger will have
    corrected for the digital filter time shift using these values.

    Best regards,
    Gillian Sharer
    Earthscope Consortium

    On Thu, Jan 26, 2023 at 9:01 AM Kung, Yu-Long [US-US] (via IRIS) <
    data-processing-help-bounce<at>lists.ds.iris.edu> wrote:

    Dear Data Processing team,



    Recently, I work on the data downloaded from IRIS DMC in MiniSEED format
    and response metadata in GeoCSV format, xml format and/or RESP format.



    Are Data in MiniSEED format already with time correction applied?

    In a RESP file, different stages might have non-zero “Correction applied
    (seconds)” values.

    Ex: for IU.ANMO..BHZ response





    B050F03 Station: ANMO

    B050F16 Network: IU

    B052F03 Location: ??

    B052F04 Channel: BHZ

    B052F22 Start date: 1995,195,00:00:00

    B052F23 End date: 1998,299,20:00:00



    B057F03 Stage sequence number: 1

    B057F08 Correction applied (seconds): +0.0000E+00



    B057F03 Stage sequence number: 2

    B057F08 Correction applied (seconds): +0.0000E+00



    B057F03 Stage sequence number: 3

    B057F08 Correction applied (seconds): +6.0000E-03



    B057F03 Stage sequence number: 4

    B057F08 Correction applied (seconds): +7.7000E-02



    B057F03 Stage sequence number: 5

    B057F08 Correction applied (seconds): +3.7900E-01



    B057F03 Stage sequence number: 6

    B057F08 Correction applied (seconds): +7.6000E-01







    Is it correct if I assign CSS SENSOR.TSHIFT field to zero for all data
    returned in MiniSEED format?



    Thanks

    Yu-Long





    ----------------------
    Data Processing Help
    Topic home: http://ds.iris.edu/message-center/topic/data-processing-help/
    | Unsubscribe: data-processing-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/


    • Kung, Yu-Long [US-US]
      2023-01-27 02:18:50
      Dear Gillian

      Many thanks for the confirmation.

      Best Regards
      Yu-Long

      From: Gillian Sharer <gillian.sharer<at>earthscope.org>
      Sent: Thursday, January 26, 2023 9:16 PM
      To: Kung, Yu-Long [US-US] <YU-LONG.KUNG<at>leidos.com>; data-processing-help<at>lists.ds.iris.edu
      Subject: EXTERNAL: Re: [IRIS][data-processing-help] data time correction


      CAUTION: This email originated from outside of Leidos. Be cautious when clicking or opening content.
      Dear Yu-long,

      Apologies for our delay in responding to your earlier email. You are correct that you do not need to apply time corrections to this miniseed data. For these fields in the RESP file, the data logger will have corrected for the digital filter time shift using these values.

      Best regards,
      Gillian Sharer
      Earthscope Consortium

      On Thu, Jan 26, 2023 at 9:01 AM Kung, Yu-Long [US-US] (via IRIS) <data-processing-help-bounce<at>lists.ds.iris.edu<data-processing-help-bounce<at>lists.ds.iris.edu>> wrote:
      Dear Data Processing team,

      Recently, I work on the data downloaded from IRIS DMC in MiniSEED format and response metadata in GeoCSV format, xml format and/or RESP format.

      Are Data in MiniSEED format already with time correction applied?
      In a RESP file, different stages might have non-zero “Correction applied (seconds)” values.
      Ex: for IU.ANMO..BHZ response


      B050F03 Station: ANMO
      B050F16 Network: IU
      B052F03 Location: ??
      B052F04 Channel: BHZ
      B052F22 Start date: 1995,195,00:00:00
      B052F23 End date: 1998,299,20:00:00

      B057F03 Stage sequence number: 1
      B057F08 Correction applied (seconds): +0.0000E+00

      B057F03 Stage sequence number: 2
      B057F08 Correction applied (seconds): +0.0000E+00

      B057F03 Stage sequence number: 3
      B057F08 Correction applied (seconds): +6.0000E-03

      B057F03 Stage sequence number: 4
      B057F08 Correction applied (seconds): +7.7000E-02

      B057F03 Stage sequence number: 5
      B057F08 Correction applied (seconds): +3.7900E-01

      B057F03 Stage sequence number: 6
      B057F08 Correction applied (seconds): +7.6000E-01



      Is it correct if I assign CSS SENSOR.TSHIFT field to zero for all data returned in MiniSEED format?

      Thanks
      Yu-Long



      ----------------------
      Data Processing Help
      Topic home: http://ds.iris.edu/message-center/topic/data-processing-help/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/topic/data-processing-help/__;!!Az_Xe1LHMyBq19w!cI6__VeoskGckg6SmkjzB4g1S4X-8p4CFUFUstPKcoUodSZJM6-JgIKdA9IaCK-gev4$> | Unsubscribe: data-processing-help-unsubscribe<at>lists.ds.iris.edu<data-processing-help-unsubscribe<at>lists.ds.iris.edu>

      Sent from the IRIS Message Center (http://ds.iris.edu/message-center/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/__;!!Az_Xe1LHMyBq19w!cI6__VeoskGckg6SmkjzB4g1S4X-8p4CFUFUstPKcoUodSZJM6-JgIKdA9IaPJ856Ug$>)
      Update subscription preferences at http://ds.iris.edu/account/profile/https://urldefense.us/v3/__http:/ds.iris.edu/account/profile/__;!!Az_Xe1LHMyBq19w!cI6__VeoskGckg6SmkjzB4g1S4X-8p4CFUFUstPKcoUodSZJM6-JgIKdA9IaZdzoH5Y$>

    • Kung, Yu-Long [US-US]
      2023-01-30 17:00:01
      Dear Gillian,

      Thanks for the response and confirmation. I received your response last week. Not sure why I got this email again today. Might be our mail server.

      I have another question about SAC format when request data via IRIS WS.

      I checked SAC data returned from IRIS DMC WS when specified format=SAC, the SAC header SCALE value is sensitivity.
      In the legacy IRIS “rdseed” application, it assigned calib ( = 1/sensitivity) to SAC header SCALE.
      Lately, I also use python obspy python interfaces, it also assign calib to SAC header SCALE value.

      Can you confirm the SAC data files returned from IRIS DMC WS with SAC HEADER SCALE assigned to sensitivity?
      If so and rdseed assign calib to SAC header SCALE, I am wondering why SAC data file returned from IRISDMC using sensitivity instead?

      I also noticed the geocsv file SCALE column also showing sensitivity.


      Thanks
      Yu-Long


      From: data-processing-help-bounce<at>lists.ds.iris.edu <data-processing-help-bounce<at>lists.ds.iris.edu>
      Sent: Monday, January 30, 2023 11:49 AM
      To: Data Processing Help <data-processing-help<at>lists.ds.iris.edu>
      Subject: EXTERNAL: Re: [IRIS][data-processing-help] data time correction

      Dear Yu-long,

      Apologies for our delay in responding to your earlier email. You are correct that you do not need to apply time corrections to this miniseed data. For these fields in the RESP file, the data logger will have corrected for the digital filter time shift using these values.

      Best regards,
      Gillian Sharer
      Earthscope Consortium

      On Thu, Jan 26, 2023 at 9:01 AM Kung, Yu-Long [US-US] (via IRIS) <data-processing-help-bounce<at>lists.ds.iris.edu<data-processing-help-bounce<at>lists.ds.iris.edu>> wrote:
      Dear Data Processing team,

      Recently, I work on the data downloaded from IRIS DMC in MiniSEED format and response metadata in GeoCSV format, xml format and/or RESP format.

      Are Data in MiniSEED format already with time correction applied?
      In a RESP file, different stages might have non-zero “Correction applied (seconds)” values.
      Ex: for IU.ANMO..BHZ response


      B050F03 Station: ANMO
      B050F16 Network: IU
      B052F03 Location: ??
      B052F04 Channel: BHZ
      B052F22 Start date: 1995,195,00:00:00
      B052F23 End date: 1998,299,20:00:00

      B057F03 Stage sequence number: 1
      B057F08 Correction applied (seconds): +0.0000E+00

      B057F03 Stage sequence number: 2
      B057F08 Correction applied (seconds): +0.0000E+00

      B057F03 Stage sequence number: 3
      B057F08 Correction applied (seconds): +6.0000E-03

      B057F03 Stage sequence number: 4
      B057F08 Correction applied (seconds): +7.7000E-02

      B057F03 Stage sequence number: 5
      B057F08 Correction applied (seconds): +3.7900E-01

      B057F03 Stage sequence number: 6
      B057F08 Correction applied (seconds): +7.6000E-01



      Is it correct if I assign CSS SENSOR.TSHIFT field to zero for all data returned in MiniSEED format?

      Thanks
      Yu-Long



      ----------------------
      Data Processing Help
      Topic home: http://ds.iris.edu/message-center/topic/data-processing-help/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/topic/data-processing-help/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIfzp7svU$> | Unsubscribe: data-processing-help-unsubscribe<at>lists.ds.iris.edu<data-processing-help-unsubscribe<at>lists.ds.iris.edu>

      Sent from the IRIS Message Center (http://ds.iris.edu/message-center/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIzSmDuUE$>)
      Update subscription preferences at http://ds.iris.edu/account/profile/https://urldefense.us/v3/__http:/ds.iris.edu/account/profile/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIf9p4YxA$>

      • Rob Casey
        2023-01-30 10:01:35

        Hi Yu-Long-

        Which web service is returning SAC with the SCALE value being set?

        Our current services may not behave in the same manner as the legacy rdseed application, since our business rules change over time. If you can specify which service, we can look at its behavior.

        Regards,

        -Rob


        On Jan 30, 2023, at 9:01 AM, Kung, Yu-Long [US-US] (via IRIS) <data-processing-help-bounce<at>lists.ds.iris.edu> wrote:

        Dear Gillian,

        Thanks for the response and confirmation. I received your response last week. Not sure why I got this email again today. Might be our mail server.

        I have another question about SAC format when request data via IRIS WS.

        I checked SAC data returned from IRIS DMC WS when specified format=SAC, the SAC header SCALE value is sensitivity.
        In the legacy IRIS “rdseed” application, it assigned calib ( = 1/sensitivity) to SAC header SCALE.
        Lately, I also use python obspy python interfaces, it also assign calib to SAC header SCALE value.

        Can you confirm the SAC data files returned from IRIS DMC WS with SAC HEADER SCALE assigned to sensitivity?
        If so and rdseed assign calib to SAC header SCALE, I am wondering why SAC data file returned from IRISDMC using sensitivity instead?

        I also noticed the geocsv file SCALE column also showing sensitivity.


        Thanks
        Yu-Long


        From: data-processing-help-bounce<at>lists.ds.iris.edu <data-processing-help-bounce<at>lists.ds.iris.edu>
        Sent: Monday, January 30, 2023 11:49 AM
        To: Data Processing Help <data-processing-help<at>lists.ds.iris.edu>
        Subject: EXTERNAL: Re: [IRIS][data-processing-help] data time correction

        Dear Yu-long,

        Apologies for our delay in responding to your earlier email. You are correct that you do not need to apply time corrections to this miniseed data. For these fields in the RESP file, the data logger will have corrected for the digital filter time shift using these values.

        Best regards,
        Gillian Sharer
        Earthscope Consortium

        On Thu, Jan 26, 2023 at 9:01 AM Kung, Yu-Long [US-US] (via IRIS) <data-processing-help-bounce<at>lists.ds.iris.edu <data-processing-help-bounce<at>lists.ds.iris.edu>> wrote:
        Dear Data Processing team,

        Recently, I work on the data downloaded from IRIS DMC in MiniSEED format and response metadata in GeoCSV format, xml format and/or RESP format.

        Are Data in MiniSEED format already with time correction applied?
        In a RESP file, different stages might have non-zero “Correction applied (seconds)” values.
        Ex: for IU.ANMO..BHZ response


        B050F03 Station: ANMO
        B050F16 Network: IU
        B052F03 Location: ??
        B052F04 Channel: BHZ
        B052F22 Start date: 1995,195,00:00:00
        B052F23 End date: 1998,299,20:00:00

        B057F03 Stage sequence number: 1
        B057F08 Correction applied (seconds): +0.0000E+00

        B057F03 Stage sequence number: 2
        B057F08 Correction applied (seconds): +0.0000E+00

        B057F03 Stage sequence number: 3
        B057F08 Correction applied (seconds): +6.0000E-03

        B057F03 Stage sequence number: 4
        B057F08 Correction applied (seconds): +7.7000E-02

        B057F03 Stage sequence number: 5
        B057F08 Correction applied (seconds): +3.7900E-01

        B057F03 Stage sequence number: 6
        B057F08 Correction applied (seconds): +7.6000E-01



        Is it correct if I assign CSS SENSOR.TSHIFT field to zero for all data returned in MiniSEED format?

        Thanks
        Yu-Long



        ----------------------
        Data Processing Help
        Topic home: http://ds.iris.edu/message-center/topic/data-processing-help/ https://urldefense.us/v3/__http:/ds.iris.edu/message-center/topic/data-processing-help/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIfzp7svU$> | Unsubscribe: data-processing-help-unsubscribe<at>lists.ds.iris.edu <data-processing-help-unsubscribe<at>lists.ds.iris.edu>

        Sent from the IRIS Message Center (http://ds.iris.edu/message-center/ https://urldefense.us/v3/__http:/ds.iris.edu/message-center/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIzSmDuUE$>)
        Update subscription preferences at http://ds.iris.edu/account/profile/ https://urldefense.us/v3/__http:/ds.iris.edu/account/profile/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIf9p4YxA$>
        ----------------------
        Data Processing Help
        Topic home: http://ds.iris.edu/message-center/topic/data-processing-help/ | Unsubscribe: data-processing-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/


        • Kung, Yu-Long [US-US]
          2023-01-30 19:15:44
          Dear Rob,

          Thanks for prompt response
          Here I listed information I gathered.



          1. Here is the command to get the sac data from IRIS DMC.

          wget -O IRISDMC_GUMO.zip -o IRISDMC_GUMO.log http://service.iris.edu/fdsnws/dataselect/1/query?sta=GUMO&start=2017-09-03T03:34:19&end=2017-09-03T04:51:19&format=sac.zip


          after unzip and read only 10.BHZ SAC file using SAC, the scale is assigned to 3.262840e+10

          SAC> r IU.GUMO.10.BHZ.M.2017.246.033419.SAC
          SAC> lh SCALE


          FILE: IU.GUMO.10.BHZ.M.2017.246.033419.SAC - 1
          ------------------------------------------

          SCALE = 3.262840e+10



          1. Here is the station/level=response request also from IRISDMC in geocsv format, the SCALE is assigned to 3.262840e+10

          Network|Station|Location|Channel|Latitude|Longitude|Elevation|Depth|Azimuth|Dip|SensorDescription|Scale|ScaleFreq|ScaleUnits|SampleRate|StartTime|EndTime

          IU|GUMO|10|BHZ|13.5893|144.8684|170.0|0.0|0.0|-90.0|Streckeisen STS-2 High-gain|3.26284E10|0.02|m/s|40.0|2011-08-16T05:50:00.0000|



          1. Here is the rdseed description

          https://github.com/iris-edu-legacy/rdseed


          * CSS headers are handled in the same way as SAC headers, except that a scale factor is inserted into the CALIB variable. If gain reversal checking is active and a reversal is found, the data are inverted and the header CALIB value is also inverted.

          4) This is from GUMO 10 BHZ RESP FILE ( I requested response in xml format then converted to RESP format )

          # +-----------------------------------+
          # | Channel Sensitivity/Gain |
          # | IU GUMO 10 BHZ |
          # | 08/16/2011 to No Ending Time |
          # +-----------------------------------+
          #
          B058F03 Stage sequence number: 0
          B058F04 Sensitivity: +3.26284E+10
          B058F05 Frequency of sensitivity: +2.00000E-02
          B058F06 Number of calibrations: 0


          Thanks
          Yu-Long

          From: data-processing-help-bounce<at>lists.ds.iris.edu <data-processing-help-bounce<at>lists.ds.iris.edu>
          Sent: Monday, January 30, 2023 1:07 PM
          To: Data Processing Help <data-processing-help<at>lists.ds.iris.edu>
          Subject: Re: [IRIS][data-processing-help] EXTERNAL: Re: data time correction


          Hi Yu-Long-

          Which web service is returning SAC with the SCALE value being set?

          Our current services may not behave in the same manner as the legacy rdseed application, since our business rules change over time. If you can specify which service, we can look at its behavior.

          Regards,

          -Rob



          On Jan 30, 2023, at 9:01 AM, Kung, Yu-Long [US-US] (via IRIS) <data-processing-help-bounce<at>lists.ds.iris.edu<data-processing-help-bounce<at>lists.ds.iris.edu>> wrote:

          Dear Gillian,

          Thanks for the response and confirmation. I received your response last week. Not sure why I got this email again today. Might be our mail server.

          I have another question about SAC format when request data via IRIS WS.

          I checked SAC data returned from IRIS DMC WS when specified format=SAC, the SAC header SCALE value is sensitivity.
          In the legacy IRIS “rdseed” application, it assigned calib ( = 1/sensitivity) to SAC header SCALE.
          Lately, I also use python obspy python interfaces, it also assign calib to SAC header SCALE value.

          Can you confirm the SAC data files returned from IRIS DMC WS with SAC HEADER SCALE assigned to sensitivity?
          If so and rdseed assign calib to SAC header SCALE, I am wondering why SAC data file returned from IRISDMC using sensitivity instead?

          I also noticed the geocsv file SCALE column also showing sensitivity.


          Thanks
          Yu-Long


          From: data-processing-help-bounce<at>lists.ds.iris.edu<data-processing-help-bounce<at>lists.ds.iris.edu> <data-processing-help-bounce<at>lists.ds.iris.edu<data-processing-help-bounce<at>lists.ds.iris.edu>>
          Sent: Monday, January 30, 2023 11:49 AM
          To: Data Processing Help <data-processing-help<at>lists.ds.iris.edu<data-processing-help<at>lists.ds.iris.edu>>
          Subject: EXTERNAL: Re: [IRIS][data-processing-help] data time correction

          Dear Yu-long,

          Apologies for our delay in responding to your earlier email. You are correct that you do not need to apply time corrections to this miniseed data. For these fields in the RESP file, the data logger will have corrected for the digital filter time shift using these values.

          Best regards,
          Gillian Sharer
          Earthscope Consortium

          On Thu, Jan 26, 2023 at 9:01 AM Kung, Yu-Long [US-US] (via IRIS) <data-processing-help-bounce<at>lists.ds.iris.edu<data-processing-help-bounce<at>lists.ds.iris.edu>> wrote:
          Dear Data Processing team,

          Recently, I work on the data downloaded from IRIS DMC in MiniSEED format and response metadata in GeoCSV format, xml format and/or RESP format.

          Are Data in MiniSEED format already with time correction applied?
          In a RESP file, different stages might have non-zero “Correction applied (seconds)” values.
          Ex: for IU.ANMO..BHZ response


          B050F03 Station: ANMO
          B050F16 Network: IU
          B052F03 Location: ??
          B052F04 Channel: BHZ
          B052F22 Start date: 1995,195,00:00:00
          B052F23 End date: 1998,299,20:00:00

          B057F03 Stage sequence number: 1
          B057F08 Correction applied (seconds): +0.0000E+00

          B057F03 Stage sequence number: 2
          B057F08 Correction applied (seconds): +0.0000E+00

          B057F03 Stage sequence number: 3
          B057F08 Correction applied (seconds): +6.0000E-03

          B057F03 Stage sequence number: 4
          B057F08 Correction applied (seconds): +7.7000E-02

          B057F03 Stage sequence number: 5
          B057F08 Correction applied (seconds): +3.7900E-01

          B057F03 Stage sequence number: 6
          B057F08 Correction applied (seconds): +7.6000E-01



          Is it correct if I assign CSS SENSOR.TSHIFT field to zero for all data returned in MiniSEED format?

          Thanks
          Yu-Long



          ----------------------
          Data Processing Help
          Topic home: http://ds.iris.edu/message-center/topic/data-processing-help/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/topic/data-processing-help/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIfzp7svU$> | Unsubscribe: data-processing-help-unsubscribe<at>lists.ds.iris.edu<data-processing-help-unsubscribe<at>lists.ds.iris.edu>

          Sent from the IRIS Message Center (http://ds.iris.edu/message-center/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIzSmDuUE$>)
          Update subscription preferences at http://ds.iris.edu/account/profile/https://urldefense.us/v3/__http:/ds.iris.edu/account/profile/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIf9p4YxA$>

          ----------------------
          Data Processing Help
          Topic home: http://ds.iris.edu/message-center/topic/data-processing-help/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/topic/data-processing-help/__;!!Az_Xe1LHMyBq19w!aZWrTYTjIDAJ8uGC30Pzjzjjp1mHmI7MPVVmi7Vve5-Mnm2DPnLSmCJ1qZG7xM4XziE$> | Unsubscribe: data-processing-help-unsubscribe<at>lists.ds.iris.edu<data-processing-help-unsubscribe<at>lists.ds.iris.edu>

          Sent from the IRIS Message Center (http://ds.iris.edu/message-center/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/__;!!Az_Xe1LHMyBq19w!aZWrTYTjIDAJ8uGC30Pzjzjjp1mHmI7MPVVmi7Vve5-Mnm2DPnLSmCJ1qZG7Y51pf3I$>)
          Update subscription preferences at http://ds.iris.edu/account/profile/https://urldefense.us/v3/__http:/ds.iris.edu/account/profile/__;!!Az_Xe1LHMyBq19w!aZWrTYTjIDAJ8uGC30Pzjzjjp1mHmI7MPVVmi7Vve5-Mnm2DPnLSmCJ1qZG7OnM8Ans$>


          • Kung, Yu-Long [US-US]
            2023-01-30 19:51:18
            Dear Rob,

            I also noticed python obspy 1.4.0 assigned CALIB to SAC.SCALE header field (ex. Reading in GSE2.0 format and writing out as SAC format)

            The other question is about column ScaleUnits in geocsv file. If Scale is sensitivity, is the ScaleUnits like V/ (m/s) (or count/ (m/s) ) not m/s ?

            Thanks
            Yu-Long

            From: data-processing-help-bounce<at>lists.ds.iris.edu <data-processing-help-bounce<at>lists.ds.iris.edu>
            Sent: Monday, January 30, 2023 2:17 PM
            To: Data Processing Help <data-processing-help<at>lists.ds.iris.edu>
            Subject: RE: [IRIS][data-processing-help] EXTERNAL: Re: data time correction

            Dear Rob,

            Thanks for prompt response
            Here I listed information I gathered.



            1. Here is the command to get the sac data from IRIS DMC.

            wget -O IRISDMC_GUMO.zip -o IRISDMC_GUMO.log http://service.iris.edu/fdsnws/dataselect/1/query?sta=GUMO&start=2017-09-03T03:34:19&end=2017-09-03T04:51:19&format=sac.ziphttps://urldefense.us/v3/__http:/service.iris.edu/fdsnws/dataselect/1/query?sta=GUMO&start=2017-09-03T03:34:19&end=2017-09-03T04:51:19&format=sac.zip__;!!Az_Xe1LHMyBq19w!dBCncSKbKhWxGH0HxxjSXsPJDU6xUE1TmP246hh-fYKjyqZuYG9jwpZtsIHXwGALSqI$>


            after unzip and read only 10.BHZ SAC file using SAC, the scale is assigned to 3.262840e+10

            SAC> r IU.GUMO.10.BHZ.M.2017.246.033419.SAC
            SAC> lh SCALE


            FILE: IU.GUMO.10.BHZ.M.2017.246.033419.SAC - 1
            ------------------------------------------

            SCALE = 3.262840e+10



            1. Here is the station/level=response request also from IRISDMC in geocsv format, the SCALE is assigned to 3.262840e+10

            Network|Station|Location|Channel|Latitude|Longitude|Elevation|Depth|Azimuth|Dip|SensorDescription|Scale|ScaleFreq|ScaleUnits|SampleRate|StartTime|EndTime

            IU|GUMO|10|BHZ|13.5893|144.8684|170.0|0.0|0.0|-90.0|Streckeisen STS-2 High-gain|3.26284E10|0.02|m/s|40.0|2011-08-16T05:50:00.0000|



            1. Here is the rdseed description

            https://github.com/iris-edu-legacy/rdseedhttps://urldefense.us/v3/__https:/github.com/iris-edu-legacy/rdseed__;!!Az_Xe1LHMyBq19w!dBCncSKbKhWxGH0HxxjSXsPJDU6xUE1TmP246hh-fYKjyqZuYG9jwpZtsIHXL7LigkA$>


            * CSS headers are handled in the same way as SAC headers, except that a scale factor is inserted into the CALIB variable. If gain reversal checking is active and a reversal is found, the data are inverted and the header CALIB value is also inverted.

            4) This is from GUMO 10 BHZ RESP FILE ( I requested response in xml format then converted to RESP format )

            # +-----------------------------------+
            # | Channel Sensitivity/Gain |
            # | IU GUMO 10 BHZ |
            # | 08/16/2011 to No Ending Time |
            # +-----------------------------------+
            #
            B058F03 Stage sequence number: 0
            B058F04 Sensitivity: +3.26284E+10
            B058F05 Frequency of sensitivity: +2.00000E-02
            B058F06 Number of calibrations: 0


            Thanks
            Yu-Long

            From: data-processing-help-bounce<at>lists.ds.iris.edu <data-processing-help-bounce<at>lists.ds.iris.edu>
            Sent: Monday, January 30, 2023 1:07 PM
            To: Data Processing Help <data-processing-help<at>lists.ds.iris.edu>
            Subject: Re: [IRIS][data-processing-help] EXTERNAL: Re: data time correction


            Hi Yu-Long-

            Which web service is returning SAC with the SCALE value being set?

            Our current services may not behave in the same manner as the legacy rdseed application, since our business rules change over time. If you can specify which service, we can look at its behavior.

            Regards,

            -Rob


            On Jan 30, 2023, at 9:01 AM, Kung, Yu-Long [US-US] (via IRIS) <data-processing-help-bounce<at>lists.ds.iris.edu<data-processing-help-bounce<at>lists.ds.iris.edu>> wrote:

            Dear Gillian,

            Thanks for the response and confirmation. I received your response last week. Not sure why I got this email again today. Might be our mail server.

            I have another question about SAC format when request data via IRIS WS.

            I checked SAC data returned from IRIS DMC WS when specified format=SAC, the SAC header SCALE value is sensitivity.
            In the legacy IRIS “rdseed” application, it assigned calib ( = 1/sensitivity) to SAC header SCALE.
            Lately, I also use python obspy python interfaces, it also assign calib to SAC header SCALE value.

            Can you confirm the SAC data files returned from IRIS DMC WS with SAC HEADER SCALE assigned to sensitivity?
            If so and rdseed assign calib to SAC header SCALE, I am wondering why SAC data file returned from IRISDMC using sensitivity instead?

            I also noticed the geocsv file SCALE column also showing sensitivity.


            Thanks
            Yu-Long


            From: data-processing-help-bounce<at>lists.ds.iris.edu<data-processing-help-bounce<at>lists.ds.iris.edu> <data-processing-help-bounce<at>lists.ds.iris.edu<data-processing-help-bounce<at>lists.ds.iris.edu>>
            Sent: Monday, January 30, 2023 11:49 AM
            To: Data Processing Help <data-processing-help<at>lists.ds.iris.edu<data-processing-help<at>lists.ds.iris.edu>>
            Subject: EXTERNAL: Re: [IRIS][data-processing-help] data time correction

            Dear Yu-long,

            Apologies for our delay in responding to your earlier email. You are correct that you do not need to apply time corrections to this miniseed data. For these fields in the RESP file, the data logger will have corrected for the digital filter time shift using these values.

            Best regards,
            Gillian Sharer
            Earthscope Consortium

            On Thu, Jan 26, 2023 at 9:01 AM Kung, Yu-Long [US-US] (via IRIS) <data-processing-help-bounce<at>lists.ds.iris.edu<data-processing-help-bounce<at>lists.ds.iris.edu>> wrote:
            Dear Data Processing team,

            Recently, I work on the data downloaded from IRIS DMC in MiniSEED format and response metadata in GeoCSV format, xml format and/or RESP format.

            Are Data in MiniSEED format already with time correction applied?
            In a RESP file, different stages might have non-zero “Correction applied (seconds)” values.
            Ex: for IU.ANMO..BHZ response


            B050F03 Station: ANMO
            B050F16 Network: IU
            B052F03 Location: ??
            B052F04 Channel: BHZ
            B052F22 Start date: 1995,195,00:00:00
            B052F23 End date: 1998,299,20:00:00

            B057F03 Stage sequence number: 1
            B057F08 Correction applied (seconds): +0.0000E+00

            B057F03 Stage sequence number: 2
            B057F08 Correction applied (seconds): +0.0000E+00

            B057F03 Stage sequence number: 3
            B057F08 Correction applied (seconds): +6.0000E-03

            B057F03 Stage sequence number: 4
            B057F08 Correction applied (seconds): +7.7000E-02

            B057F03 Stage sequence number: 5
            B057F08 Correction applied (seconds): +3.7900E-01

            B057F03 Stage sequence number: 6
            B057F08 Correction applied (seconds): +7.6000E-01



            Is it correct if I assign CSS SENSOR.TSHIFT field to zero for all data returned in MiniSEED format?

            Thanks
            Yu-Long



            ----------------------
            Data Processing Help
            Topic home: http://ds.iris.edu/message-center/topic/data-processing-help/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/topic/data-processing-help/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIfzp7svU$> | Unsubscribe: data-processing-help-unsubscribe<at>lists.ds.iris.edu<data-processing-help-unsubscribe<at>lists.ds.iris.edu>

            Sent from the IRIS Message Center (http://ds.iris.edu/message-center/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIzSmDuUE$>)
            Update subscription preferences at http://ds.iris.edu/account/profile/https://urldefense.us/v3/__http:/ds.iris.edu/account/profile/__;!!Az_Xe1LHMyBq19w!b0nm7BNsM9T5oWQL9H5Y9MVSsgDvrn_MQBhHEzqgNXzNmc1jdnGNKP4MJyRIf9p4YxA$>

            ----------------------
            Data Processing Help
            Topic home: http://ds.iris.edu/message-center/topic/data-processing-help/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/topic/data-processing-help/__;!!Az_Xe1LHMyBq19w!aZWrTYTjIDAJ8uGC30Pzjzjjp1mHmI7MPVVmi7Vve5-Mnm2DPnLSmCJ1qZG7xM4XziE$> | Unsubscribe: data-processing-help-unsubscribe<at>lists.ds.iris.edu<data-processing-help-unsubscribe<at>lists.ds.iris.edu>

            Sent from the IRIS Message Center (http://ds.iris.edu/message-center/https://urldefense.us/v3/__http:/ds.iris.edu/message-center/__;!!Az_Xe1LHMyBq19w!aZWrTYTjIDAJ8uGC30Pzjzjjp1mHmI7MPVVmi7Vve5-Mnm2DPnLSmCJ1qZG7Y51pf3I$>)
            Update subscription preferences at http://ds.iris.edu/account/profile/https://urldefense.us/v3/__http:/ds.iris.edu/account/profile/__;!!Az_Xe1LHMyBq19w!aZWrTYTjIDAJ8uGC30Pzjzjjp1mHmI7MPVVmi7Vve5-Mnm2DPnLSmCJ1qZG7OnM8Ans$>


15:42:57 v.22510d55