[teqc] TEQC Time Windowing

Lou Estey lou at unavco.org
Sun Jul 24 09:02:52 MDT 2005


Mullins, Steven wrote:

> Darrell,
> 
> I believe this shell script will do what you need.
> 
> #!/bin/sh
> 
> for i in ????????.??o 
> 
> 	do
> 
> 		export yy=`echo $i | awk '{print substr($0,10,2)}'`
> 
> 		teqc -st 0000 -dm 15 $i > `basename $i .$yy"o"`00.$yy"o"
> 		teqc -st 1500 -dm 15 $i > `basename $i .$yy"o"`15.$yy"o"
> 		teqc -st 3000 -dm 15 $i > `basename $i .$yy"o"`30.$yy"o"
> 		teqc -st 4500 -dm 15 $i > `basename $i .$yy"o"`45.$yy"o" 	
> 	
> 	done
> 
> I'm not sure how to do this in DOS though.  BTW, if your RINEX has millisecond offsets,
> your TIME OF FIRST OBS may be incorrect in the cut files.
> 
> Hope this helps,
> 
> Steve

Steve is right about the millisecond offset problem.  One "solution" is
to have the start times and deltas with enough slop so that milliseconds
are accommodated, but this leads to a very messy script.  The current
development version of teqc has a "+smtt" (= "use smooth time tags")
option which leaves the time tags "smooth" and puts the millisecond offsets
(if they exist for the receiver/format in use) into the phase and pseudorange
observabes, and then Steve's script above would be AOK for RINEX with
or without millisecond offsets.

cheers,
--lou

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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