Thread: ERROR 9005: Amplitude mismatch

Started: 2014-07-22 20:56:39
Last activity: 2014-07-23 03:27:18
Topics: SAC Help
Matt Wei
2014-07-22 20:56:39
hi there,

I am trying to merge several files from the same station/channel with
sac. The data are downloaded from IRIS using email request. A miniseed
file is then converted to many sac files using mseed2sac.

These particular problematic files include several short and long files,
total 1 day of data. I put all the sac files in one folder and run the
following sac commands.

sac> r *
sac> merge
ERROR 9005: Amplitude mismatch

What does this error mean? I googled around but didn't see any answer.

Thanks.

Matt


  • Milton Plasencia
    2014-07-23 03:15:06
    Hi Matt

    Seems that the recording have gaps, so when you convert miniseed to sac you obtain several files,
    i think you can give a look in the command sac merge to see how to work with gaps.
    perhaps using merge with gap interp can help you.

    HTH,

    Milton
    * * * * * * * * * * * * * * * * * * * * * * *
    Milton P. PLASENCIA LINARES

    Centro di Ricerche Sismologiche (CRS)
    OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale

    Borgo Grotta Gigante 42/C
    (34010) Sgonico - Trieste - Italia
    Tel: +39 040 2140 141 (Udine)
    Tel: +39 040 2140 256 (Trieste)
    Cel.: +39 331 6481 935

    E-mail: mplasencia<at>inogs.it

    ASAIN (Antarctic Seismographic Argentinean Italian Network)
    *********************************











    On Jul 22, 2014, at 7:56 PM, Matt Wei <matt-wei<at>mail.uri.edu> wrote:

    hi there,

    I am trying to merge several files from the same station/channel with sac. The data are downloaded from IRIS using email request. A miniseed file is then converted to many sac files using mseed2sac.

    These particular problematic files include several short and long files, total 1 day of data. I put all the sac files in one folder and run the following sac commands.

    sac> r *
    sac> merge
    ERROR 9005: Amplitude mismatch

    What does this error mean? I googled around but didn't see any answer.

    Thanks.

    Matt

    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


    • Matt Wei
      2014-07-22 21:18:41
      Hi Milton,

      Thanks for the reply.

      Sorry that I didn't make myself clear. The problem is not gaps. merge
      will fill zeros in gaps with no problem.

      I can merge the longest records (> 1 hr) with no error, all with gaps
      between them. The error occur when I include some short recordings that
      last 10 minutes or so.

      Matt




      On 7/22/14, 2:15 PM, Milton Plasencia wrote:
      Hi Matt

      Seems that the recording have gaps, so when you convert miniseed to
      sac you obtain several files,
      i think you can give a look in the command sac merge to see how to
      work with gaps.
      perhaps using merge with gap interp can help you.

      HTH,

      Milton
      * * * * * * * * * * * * * * * * * * * * * * *
      Milton P. PLASENCIA LINARES

      Centro di Ricerche Sismologiche (CRS)
      OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale

      Borgo Grotta Gigante 42/C
      (34010) Sgonico - Trieste - Italia
      Tel: +39 040 2140 141 (Udine)
      Tel: +39 040 2140 256 (Trieste)
      Cel.: +39 331 6481 935

      E-mail: mplasencia<at>inogs.it <mplasencia<at>inogs.it>

      ASAIN (Antarctic Seismographic Argentinean Italian Network)
      *********************************











      On Jul 22, 2014, at 7:56 PM, Matt Wei <matt-wei<at>mail.uri.edu
      <matt-wei<at>mail.uri.edu>> wrote:

      hi there,

      I am trying to merge several files from the same station/channel with
      sac. The data are downloaded from IRIS using email request. A
      miniseed file is then converted to many sac files using mseed2sac.

      These particular problematic files include several short and long
      files, total 1 day of data. I put all the sac files in one folder and
      run the following sac commands.

      sac> r *
      sac> merge
      ERROR 9005: Amplitude mismatch

      What does this error mean? I googled around but didn't see any answer.

      Thanks.

      Matt

      _______________________________________________
      sac-help mailing list
      sac-help<at>iris.washington.edu <sac-help<at>iris.washington.edu>
      http://www.iris.washington.edu/mailman/listinfo/sac-help



      • Milton Plasencia
        2014-07-23 03:27:18
        Perhaps when you add the last short record, you have an overlap, so try merge with average
        for the short file.

        Milton P. Plasencia Linares
        mpplasencia<at>gmail.com



        On Jul 22, 2014, at 8:18 PM, Matt Wei <matt-wei<at>mail.uri.edu> wrote:

        Hi Milton,

        Thanks for the reply.

        Sorry that I didn't make myself clear. The problem is not gaps. merge will fill zeros in gaps with no problem.

        I can merge the longest records (> 1 hr) with no error, all with gaps between them. The error occur when I include some short recordings that last 10 minutes or so.

        Matt




        On 7/22/14, 2:15 PM, Milton Plasencia wrote:
        Hi Matt

        Seems that the recording have gaps, so when you convert miniseed to sac you obtain several files,
        i think you can give a look in the command sac merge to see how to work with gaps.
        perhaps using merge with gap interp can help you.

        HTH,

        Milton
        * * * * * * * * * * * * * * * * * * * * * * *
        Milton P. PLASENCIA LINARES

        Centro di Ricerche Sismologiche (CRS)
        OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale

        Borgo Grotta Gigante 42/C
        (34010) Sgonico - Trieste - Italia
        Tel: +39 040 2140 141 (Udine)
        Tel: +39 040 2140 256 (Trieste)
        Cel.: +39 331 6481 935

        E-mail: mplasencia<at>inogs.it

        ASAIN (Antarctic Seismographic Argentinean Italian Network)
        *********************************











        On Jul 22, 2014, at 7:56 PM, Matt Wei <matt-wei<at>mail.uri.edu> wrote:

        hi there,

        I am trying to merge several files from the same station/channel with sac. The data are downloaded from IRIS using email request. A miniseed file is then converted to many sac files using mseed2sac.

        These particular problematic files include several short and long files, total 1 day of data. I put all the sac files in one folder and run the following sac commands.

        sac> r *
        sac> merge
        ERROR 9005: Amplitude mismatch

        What does this error mean? I googled around but didn't see any answer.

        Thanks.

        Matt

        _______________________________________________
        sac-help mailing list
        sac-help<at>iris.washington.edu
        http://www.iris.washington.edu/mailman/listinfo/sac-help


        _______________________________________________
        sac-help mailing list
        sac-help<at>iris.washington.edu
        http://www.iris.washington.edu/mailman/listinfo/sac-help


    • Matt Wei
      2014-07-22 21:26:19
      hi all,

      Problem solved. The error occur because there are overlap between files.

      The following will stop the error message but might need to use with
      caution.

      SAC> merge overlap average

      Matt



      On 7/22/14, 2:15 PM, Milton Plasencia wrote:
      Hi Matt

      Seems that the recording have gaps, so when you convert miniseed to
      sac you obtain several files,
      i think you can give a look in the command sac merge to see how to
      work with gaps.
      perhaps using merge with gap interp can help you.

      HTH,

      Milton
      * * * * * * * * * * * * * * * * * * * * * * *
      Milton P. PLASENCIA LINARES

      Centro di Ricerche Sismologiche (CRS)
      OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale

      Borgo Grotta Gigante 42/C
      (34010) Sgonico - Trieste - Italia
      Tel: +39 040 2140 141 (Udine)
      Tel: +39 040 2140 256 (Trieste)
      Cel.: +39 331 6481 935

      E-mail: mplasencia<at>inogs.it <mplasencia<at>inogs.it>

      ASAIN (Antarctic Seismographic Argentinean Italian Network)
      *********************************











      On Jul 22, 2014, at 7:56 PM, Matt Wei <matt-wei<at>mail.uri.edu
      <matt-wei<at>mail.uri.edu>> wrote:

      hi there,

      I am trying to merge several files from the same station/channel with
      sac. The data are downloaded from IRIS using email request. A
      miniseed file is then converted to many sac files using mseed2sac.

      These particular problematic files include several short and long
      files, total 1 day of data. I put all the sac files in one folder and
      run the following sac commands.

      sac> r *
      sac> merge
      ERROR 9005: Amplitude mismatch

      What does this error mean? I googled around but didn't see any answer.

      Thanks.

      Matt

      _______________________________________________
      sac-help mailing list
      sac-help<at>iris.washington.edu <sac-help<at>iris.washington.edu>
      http://www.iris.washington.edu/mailman/listinfo/sac-help



15:50:08 v.01697673