[teqc] Option -O.dec on tranlating Leica300 files

Lou Estey lou at unavco.org
Tue Oct 24 07:51:37 MDT 2006

Dear Simon,

> I am using teqc to translate GPS Leica 300 raw data files into RINEX files.
> Command (teqc version 26-09-2006):
> teqc -lei ds -O.int 10 -O.dec 10 DS0001.OBS >station.tmp
> The result is an almost empty RINEX file. Now, if I leave the -O.dec option away,
> the resulting file contains several hours of translated data (what it should be).
> It's funny, but this behavior doesn't occure for each raw data file. That means,
> sometimes it works, sometimes it doesn't... ?
> PS: Who can explain, what -O.int and -O.dec really do with the observations?
> In the RINEX files (where the command above worked), the times of observations don't keep at the .00000 second...

Well, there are a couple of issues here.  First is the use of
-O.int 10 -O.dec 10
in the command.  See http://ls.unavco.org/pipermail/teqc/2004/000066.html
(and the preceding emails on the thread).

The second issue is that you are using the old Leica "DS" format.  This format
hasn't really been looked at in the teqc code in 8 years, so there could
be some problems.  (It's impossible to tell without digging into an example
file.)  You really should be thinking about using Leica MDB or LB2 formats.

But the longer answer on -O.int and -O.dec: Originally only -O.int existed,
as a way to force a RINEX OBS header line with the sample interval since
this line is optional.  Later there was a need for decimating epochs, so
-O.dec was introduced.  Except for high-rate (1 sec or less for sample
interval), using -O.dec is all that's needed.  I'm not even going to go
into what all goes on to cover as many cases as the algorithm does; let's
just say that, no, the observations need not necessarily be on an integer


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