[teqc] Septentrio SBF translation - blank header detail

Lou Estey lou at unavco.org
Wed May 16 09:09:10 MDT 2018


On 15-May-18 10:28 PM, Neville Palmer wrote:
> I am attempting to generate RINEX data from Septentrio PolaRx5 SBF files that were recently recorded during 2 to 5 day campaign observations.
[...]
> Is it possible to consistently have teqc correctly populate the header information of the first RINEX file generated using the information 
> contained in the raw SBF file?
dear Neville,

I've explained this many times in the past 20 years, but here's the explanation again,
and it's the same story for all formats (not just SBF):

When you use options like:

+meta
+mds
+config
++config
(and a few others)

teqc reads all the input before reporting the results.  Therefore metadata
in the input can be embedded anywhere in the input and teqc will find it and
report it with these options.

However, translation (with or without using '-tbin') is nominally a one-pass
filter.  _If_ you assign header fields using options like '-O.rt' and so on,
either in the command line or using a configuration file to be read with the
'-config' option (see tip of week https://postal.unavco.org/pipermail/teqc/2016/002067.html),
then those fields will be shown in the translated results (e.g. RINEX).

But for any metadata field that isn't specified, you are relying on this field
showing up before the first data epoch occurs in the input.  Once the first
data epoch shows up and you are translating to RINEX, the header -- with
whatever teqc knows up to that point -- is written out followed by the
information in the first data epoch.

Here at UNAVCO we use a two-pass system:

1) Each file is first read with the '+meta' option and the results are
parsed to populate options like '-O.rt', etc.  From this information,
a teqc config file is made.  Needed metadata that is not present in the
data files is populated from our database or done manually.

2) Then for translation, teqc is run again with the '-config' option
reading the teqc config file.

Hope this helps.

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

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


More information about the teqc mailing list