[teqc] helpful tip of week 1926

Lou Estey lou at unavco.org
Thu Dec 8 08:28:47 MST 2016


This week's tip: the '+rx_state' option

This option has been lurking in the background for a while, but just prior to the 2016Nov7 version
it was significantly enhanced to deal with as many formats that have the pertinent receiver
state information.  The usage is:

[25] teqc +help | grep rx_state
         +rx_state .          output any receiver state parameters to stdout
         +rx_state ..         output any receiver state parameters to stderr
         +rx_state name       output any receiver state parameters to file 'name'
         ++rx_state name      append any receiver state parameters to file 'name'
         -rx_state            don't output receiver state parameters (default)

... which is the usage syntax that you will find on about a dozen options now.

Currently, the 2016Nov7 version of teqc should be able to read the following records/messages
and output receiver state parameters if these occur in the raw data:

     o BINEX record 0x7d  http://binex.unavco.org/binex_record_7d.html
     o Trimble .tgd record 40
     o Septentrio message 4014 (ReceiverStatus) for temp, 4101 (PowerStatus) for voltages (PolaRx5)
     o Leica MDB message 105 or older message 5 (Diagnostic): voltages in %

Here's a UNIX/Linux shell example with a Septentrio PolaRx5 SBF file which has both 4014 and
4101 messages, bot of which happened to be set up to be output every second:

[6065] teqc +quiet +rx_state temp +mds prx5203t.16_.sbf > /dev/null; more temp
2016 Jul 21 19:16:27.000  T=  56.00 C  Vpe=  13.68 V
2016 Jul 21 19:16:28.000  T=  57.00 C  Vpe=  13.62 V
2016 Jul 21 19:16:29.000  T=  57.00 C  Vpe=  13.60 V
2016 Jul 21 19:16:30.000  T=  57.00 C  Vpe=  13.58 V
2016 Jul 21 19:16:31.000  T=  57.00 C  Vpe=  13.50 V
2016 Jul 21 19:16:32.000  T=  57.00 C  Vpe=  13.68 V
2016 Jul 21 19:16:33.000  T=  57.00 C  Vpe=  13.75 V
2016 Jul 21 19:16:34.000  T=  56.00 C  Vpe=  13.83 V
2016 Jul 21 19:16:35.000  T=  56.00 C  Vpe=  13.85 V
2016 Jul 21 19:16:36.000  T=  56.00 C  Vpe=  13.93 V
2016 Jul 21 19:16:37.000  T=  56.00 C  Vpe=  14.00 V
2016 Jul 21 19:16:38.000  T=  56.00 C  Vpe=  14.05 V
2016 Jul 21 19:16:39.000  T=  56.00 C  Vpe=  13.95 V
2016 Jul 21 19:16:40.000  T=  56.00 C  Vpe=  13.88 V
2016 Jul 21 19:16:41.000  T=  56.00 C  Vpe=  13.83 V
2016 Jul 21 19:16:42.000  T=  56.00 C  Vpe=  13.75 V
...

A few things to note in this example:

- I'm using teqc auto-identification for the format type; see tip of week 1898
http://postal.unavco.org/pipermail/teqc/2016/002092.html

- I'm using '+mds' merely to suppress creation of RINEX to stdout, but sending any
stdout to /dev/null anyway

- '+rx_state' here is writing to file 'temp' and 'temp' is then output using `more`
after the teqc command is run

- the SBF 4014 message only stores the receiver temperature to the one degree resolution

In the future, this option can be expanded to other formats if the format has a record
(or records) that contains receiver state information on its temperature, voltages, and
potentially other parameters that may vary as a function of time.

Happy teqc-ing!

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

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', and '+all' options - http://postal.unavco.org/pipermail/teqc/2016/002130.html
week 1908: no doppler shortcut; RINEX 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postal.unavco.org/pipermail/teqc/attachments/20161208/4eee4271/attachment.html>


More information about the teqc mailing list