[teqc] Problem when combining hourly data.

Lou Estey lou at unavco.org
Mon Jun 19 08:09:07 MDT 2006

> -----Original Message-----
> From: teqc-bounces at ls.unavco.org [mailto:teqc-bounces at ls.unavco.org]On
> Behalf Of Yunfeng Tian
> Sent: Monday, June 19, 2006 1:38 AM
> To: teqc support
> Subject: [teqc] Problem when combining hourly data.
> Hi list,
> I have hourly logged data files in RINEX format, and I want to combine
> them into a large one. The original sampling rate is 1Hz, and is
> downsampled to 30Hz by supplying the -O.dec 30 option:
> teqc -O.dec 30 *.06o > /data/new.06o
> To my supprise, I found there are more than one line of INTEVAL in the
> resulting new.06o file. The first INTERVAL is 30; while the other
> INTERVAL is still set to 1.  Moreover, the same case occured with
> -O.mo option (Only the first one is what I set; there are others which
> remain unchanged).
> However, if I combine the 1Hz data first, and then convert it to 30Hz,
> everything is OK.
> I want to know if I did something wrong with specifying the command
> options in the first method.
> Thank you.
> Regards,
> Tian

Mullins, Steven wrote:

 > Tian,
 > When decimating, did you get an warning about not using the -O.int option?
 > ! Warning ! using -O.dec option on input file without -O.int option
 > (if original sample interval is < 1 sec, first epoch to be decimated may not be removed)
 > Just a guess,
 > Steve

Steve, in this case I don't think using or not using -O.int has anything
to do with the problem.  Tian, you are sure that when running
`teqc -O.dec 30 *.06o > /data/new.06o` there are two lines that are like:

     30.0000                                                 INTERVAL
      1.0000                                                 INTERVAL

in the header of new.06o?  I just tried a similar operation and don't
see that.  What version of teqc are you using?


Louis H. Estey, Ph.D.              office:  [+001] 303-381-7456
UNAVCO, 6350 Nautilus Drive           FAX:  [+001] 303-381-7451
Boulder, CO  80301-5554            e-mail:  lou  unavco.org
    WWW:  http://www.unavco.org   http://jules.unavco.org

"If the universe is the answer, what is the question?"
                                                -- Leon Lederman

More information about the teqc mailing list