[teqc] How to use "-O.sum[mary] s"

Lou Estey lou at unavco.org
Wed Jul 1 10:26:39 MDT 2009


Swen,

back to this topic:

> I'll see if "-O.sum s" can be made to work correctly again,
> at least in some simple instances.

I got part working a while back.  Then there was the fact that the
output for both "-O.sum s" and "-O.sum e" needed some major rework
after 11 years of neglect in light of GNSS constellations and RINEX
evolving so that there could easily be more 9 observables.  The
current appearance of these lines from teqc for 9 or less observables
will be like:

...
      4    L1    L2    C1    P2                              # / TYPES OF OBSERV
...
     48                                                      # OF SATELLITES
          L1    L2    C1    P2                               COMMENT
         ----  ----  ----  ----                              COMMENT
    G11  2276  2276  2276  2276                              PRN / # OF OBS
    G15  2237  2237  2237  2237                              PRN / # OF OBS
    G17  1762  1762  1762  1762                              PRN / # OF OBS
    G19  2250  2250  2250  2250                              PRN / # OF OBS
    G07  1770  1770  1770  1770                              PRN / # OF OBS
    G08  1677  1677  1677  1677                              PRN / # OF OBS
    G28  1856  1856  1856  1856                              PRN / # OF OBS
    G03  2255  2255  2255  2255                              PRN / # OF OBS
<etc.>

but for more than 9 observables, I'm wondering if the RINEX spec is
really going to be helpful for most users -- unless you write special
code to parse these lines.  The spec says:

*|# OF SATELLITES     | Number of satellites, for which          |     I6     |*
  |                    | observations are stored in the file      |            |
  +--------------------+------------------------------------------+------------+
*|PRN / # OF OBS      | PRN (sat.number), number of observations |3X,A1,I2,9I6|*
  |                    | for each observation type indicated      |            |
  |                    | in the "# / TYPES OF OBSERV" - record.   |            |
  |                    |                                          |            |
  |                    |   If more than 9 observation types:      |            |
  |                    |   Use continuation line(s) including     |   6X,9I6   |
  |                    |   the header label in cols. 61-80!       |            |

For more than 9 observables (e.g. on a file with L5 tracking on PRN01
and L2C on all IIR-M birds), this ends up looking like:

...
     10    L1    L2    C1    P2    S1    S2    C2    L5    C5# / TYPES OF OBSERV
           S5                                                # / TYPES OF OBSERV
...
     48                                                      # OF SATELLITES
          L1    L2    C1    P2    S1    S2    C2    L5    C5 COMMENT
         ----  ----  ----  ----  ----  ----  ----  ----  ----COMMENT
          S5                                                 COMMENT
         ----                                                COMMENT
    G11  2276  2276  2276  2276  2276  2229     0     0     0PRN / # OF OBS
            0                                                PRN / # OF OBS
    G15  2237  2237  2237  2237  2237  2237  2237     0     0PRN / # OF OBS
            0                                                PRN / # OF OBS
    G17  1762  1762  1762  1762  1762  1762  1762     0     0PRN / # OF OBS
            0                                                PRN / # OF OBS
    G19  2250  2250  2250  2250  2250  2220     0     0     0PRN / # OF OBS
            0                                                PRN / # OF OBS
    G07  1770  1770  1770  1770  1770  1770  1770     0     0PRN / # OF OBS
            0                                                PRN / # OF OBS
    G08  1677  1677  1677  1677  1677  1640     0     0     0PRN / # OF OBS
            0                                                PRN / # OF OBS
    G28  1856  1856  1856  1856  1856  1845     0     0     0PRN / # OF OBS
            0                                                PRN / # OF OBS
    G03  2255  2255  2255  2255  2255  2212     0     0     0PRN / # OF OBS
            0                                                PRN / # OF OBS
<etc.>

Doing things like `grep PRN filename.09o | grep G01` probably won't get you
what you think you should get.

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