[teqc] Problem when combining hourly data.
lou at unavco.org
Mon Jun 19 08:32:57 MDT 2006
You are right; there is definitely a problem, and it's worse than you
described. Even with the current code, the interval of the 2nd and
later files are not decimated. The INTERVAL line in the post-header
right before the 2nd file's epochs shows the original interval, 1 sec
in your case; using -phc suppresses this, but the epoch interval is
still wrong, i.e. it's the original interval. Using -O.int with the
original interval doesn't change the result.
I'll see what can be done for a fix.
> Hi Steve,
> The INTERVAL is correctly set to 1Hz.
> After examing the TEQC toturial more carefully, I think I got the answer:
> According to the tutorial:
> "Header information from files after the first on are winnowed to
> preserve only pertinent parts, and this can be further reduced by
> including the -phc = delete post-header comments option, e.g.
> teqc -phc fbar000.97o > good0010.97o "
> I really need to read more carefully.
> ----- Original Message ----- From: "Mullins, Steven"
> <Steven.Mullins at dmme.virginia.gov>
> To: "teqc support" <teqc at ls.unavco.org>
> Sent: Monday, June 19, 2006 8:23 PM
> Subject: RE: [teqc] Problem when combining hourly data.
> 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,
> -----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.
More information about the teqc