[teqc] helpful tip of week 1951

Lou Estey lou at unavco.org
Fri Jun 2 13:22:50 MDT 2017

This week's tip: the '-n_<system>' options and system filtering options

The '-n_SBAS' option came up in a recent email thread on the teqc list:

There also seems to be some confusion as to what the SV filtering options
are by default.  Here's a quick overview on these topics.

By default the following options are in effect in teqc:
+G -n_GPS 32      => allowing GPS PRNs 1-32
+R -n_GLONASS 24  => allowing GLONASS slot no. 1-24
+S -n_SBAS 23     => allowing SBAS PRNs 120-142
+E -n_Galileo 53  => allowing Galileo PRNs 1-53
+C -n_Beidou 37   => allowing Beidou PRNs 1-37
+J -n_QZSS 10     => allowing QZSS PRNs 193-202
+I -n_IRNSS 7     => allowing IRNSS PRNs 1-7

Note 1: These apply for any operation: translation, qc, special outputs
(like using '+O.sum'), and so on.

Note 2: Any SV outside of these ranges is automatically eliminated unless
you take action, as per options discussed below.

Note 3: Beidou, QZSS, and IRNSS are blocked from being output as RINEX 2.11
by separate logic unless the '+relax' option is used to allow output of
"extended RINEX 2.11", but for all other operations, Beidou, QZSS, and IRNSS
are not blocked by default.  (In the next release of teqc, you will use
'+extend' to allow output of extended RINEX 2.11, although '+relax' will
still work.)

Note 4: In the next release, the default for SBAS will be '+S -n_SBAS 39'
allowing SBAS PRNs 120-158, allowing for all SBAS PRNs set aside for
expansion and testing:

Note 5: Each constellation is handled separately, independent of the other

To _eliminate_ a whole constellation, use:
-G  => eliminate all GPS SVs
-R  => eliminate all GLONASS SVs
-S  => eliminate all SBAS SVs
-E  => eliminate all Galileo SVs
-C  => eliminate all Beidou SVs
-J  => eliminate all QZSS SVs
-I  => eliminate all IRNSS SVs

So, if you have GNSS raw data and want to only create a RINEX 2.11 observation
file containing only Galileo data, use '-O.s E -G -R -S':
'-O.s E'  => forces the "system" field in the header to indicate Galileo-only data;
'-G -R -S' => eliminates any GPS, GLONASS, or SBAS data;
and the logic mentioned in Note 3 above eliminates any Beidou, QZSS, or IRNSS data,
but you can also include '-C -J -I' if you want.

However, if you have GNSS raw data and want to see just the counts of only Galileo
observables, then you need to also include '-C -J -I' and therefore use something
like '+all +O.sum . -G -R -S -C -J -I'; if you need to, review '+all':
or '+O.sum':

You can also filter specific SVs.  Say you want to only have the Galileo PRNs
be from 1 to 32; then use '+E1-32'.  Or if you want to eliminate GPS PRNs 7, 9, 10,
and 11: '-G7,9,10,11' or '-G7,9-11'.

Starting with teqc version 2014Oct14 -- as a user-convenience -- if you use any of
the filtering options for specific SVs and the maximum number exceeds what is set
for the default '-n_<system>' option, then the '-n_<system>' value is increased
accordingly.  Example, as per thread http://postal.unavco.org/pipermail/teqc/2017/002238.html
using just '+S20-47' would be equivalent to '-n_SBAS 28 +S20-47' (i.e. 119 + 28 = 147).
Likewise, using just '-R25-27' is equivalent to '-n_GLONASS 27 -R25-27'.

And for completeness and symmetry, altering the maximum number of SVs in a constellation
with a '-n_<system>'option alters the corresponding SV list maximum, so '-n_SBAS 28' is
also equivalent to '-n_SBAS 28 +S20-47'.

(Note 6: If you try to use both approaches with conflicting information, the minimum
SV limit between the two is the one that will be applied.)

Once you get used to these SV filtering options, you'll see that they are fairly

Happy teqc-ing!


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

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

Past helpful tips:

week 1894: using teqc config files - http://postal.unavco.org/pipermail/teqc/2016/002067.html
week 1895: qc of high-rate data - http://postal.unavco.org/pipermail/teqc/2016/002071.html
week 1896: UNIX/Linux shells for Windows - http://postal.unavco.org/pipermail/teqc/2016/002072.html
week 1897: '-' vs. '+' teqc options - http://postal.unavco.org/pipermail/teqc/2016/002076.html
week 1898: auto-identification of formats - http://postal.unavco.org/pipermail/teqc/2016/002092.html
week 1899: auto-identification vs. format flags - http://postal.unavco.org/pipermail/teqc/2016/002096.html
week 1900: square brackets in options - http://postal.unavco.org/pipermail/teqc/2016/002105.html
week 1901: using option '+mds' - http://postal.unavco.org/pipermail/teqc/2016/002108.html
week 1902: qc results w/ problematic nav messages - http://postal.unavco.org/pipermail/teqc/2016/002113.html
week 1903: '-no_orb[it]' and '-no_pos[ition]' options - http://postal.unavco.org/pipermail/teqc/2016/002115.html
week 1904: '-week' option - http://postal.unavco.org/pipermail/teqc/2016/002117.html
week 1905: using '+bcf' for XYZ/geodetic conversion - http://postal.unavco.org/pipermail/teqc/2016/002126.html
week 1906: the '+v[erify]' option - http://postal.unavco.org/pipermail/teqc/2016/002128.html
week 1907: '+C2', '+L5', "+L6', '+L7', '+L8', '+all' options - http://postal.unavco.org/pipermail/teqc/2016/002130.html
week 1908: getting RINEX doppler and L2 - http://postal.unavco.org/pipermail/teqc/2016/002131.html
week 1909: using paths w/ file names - http://postal.unavco.org/pipermail/teqc/2016/002132.html
week 1910: the (un)importance of file names - http://postal.unavco.org/pipermail/teqc/2016/002133.html
week 1911: notices, warnings, and errors - http://postal.unavco.org/pipermail/teqc/2016/002134.html
week 1912: the '-max_rx_SVs' option - http://postal.unavco.org/pipermail/teqc/2016/002137.html
week 1913: the end of '++igs' and '+igs' - http://postal.unavco.org/pipermail/teqc/2016/002140.html
week 1914: splicing together RINEX files - http://postal.unavco.org/pipermail/teqc/2016/002144.html
week 1915: using '-O.int' and '-O.dec' - http://postal.unavco.org/pipermail/teqc/2016/002145.html
week 1916: '+doy' option - http://postal.unavco.org/pipermail/teqc/2016/002146.html
week 1917: '-tbin' and '-ast' options - http://postal.unavco.org/pipermail/teqc/2016/002152.html
week 1918: mp12 RMS before/after Oct 2013 - http://postal.unavco.org/pipermail/teqc/2016/002158.html
week 1919: the global windowing options - http://postal.unavco.org/pipermail/teqc/2016/002159.html
week 1920: '-M.dec' and '-N.dec' options - http://postal.unavco.org/pipermail/teqc/2016/002163.html
week 1921: combining time filtering options - http://postal.unavco.org/pipermail/teqc/2016/002176.html
week 1922: helping me (or someone else on the list) help you - http://postal.unavco.org/pipermail/teqc/2016/002187.html
week 1923: the "build" line - http://postal.unavco.org/pipermail/teqc/2016/002190.html
week 1924: the qc '-w[idth]' option - http://postal.unavco.org/pipermail/teqc/2016/002193.html
week 1925: qc with explicit time windowing - http://postal.unavco.org/pipermail/teqc/2016/002194.html
week 1926: the '+rx_state' option - http://postal.unavco.org/pipermail/teqc/2016/002200.html
week 1927: the '-O.sum' option - http://postal.unavco.org/pipermail/teqc/2016/002204.html
week 1928: the '+meta' and '+mds' options - http://postal.unavco.org/pipermail/teqc/2016/002206.html
week 1930: more on '-O.sum' - http://postal.unavco.org/pipermail/teqc/2017/002207.html
week 1931: the '-O.s[ystem]' option - http://postal.unavco.org/pipermail/teqc/2017/002208.html
week 1932: leap seconds - http://postal.unavco.org/pipermail/teqc/2017/002215.html
week 1936: what you can (and shouldn't) do in a RINEX obs file - http://postal.unavco.org/pipermail/teqc/2017/002229.html
week 1938: the '+psp' option - http://postal.unavco.org/pipermail/teqc/2017/002231.html
week 1939: the '+diag' option - http://postal.unavco.org/pipermail/teqc/2017/002235.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postal.unavco.org/pipermail/teqc/attachments/20170602/40ca7884/attachment.html>

More information about the teqc mailing list