NiVO / BY TECHNOGISGermany · Indonesia
GNSS observation schema

RINEX Observation Type Order: Read the Header Before Comparing Drone PPK Files

Preserve per-constellation observation-code order and continuation records before comparing RINEX files used in a drone PPK workflow.

RINEX Observation Type Order: Read the Header Before Comparing Drone PPK Files

Identify the version and observation file before comparing records

Two GNSS observation files can list similar signals while storing their measurements in a different field order. A positional comparison can then pair unlike observables and produce a misleading difference report. Before using RINEX files in a NiVO PPK discussion, identify the receiver session, conversion history and actual format version. This tutorial concentrates on the observation-type header and a bounded RINEX 3.05 inspection recipe. The IGS RINEX 4.02 document was also consulted for current context; the recipe does not claim to handle that version or every RINEX profile automatically.

Preserve rover and reference originals and keep their identities distinct. Record the converter, options, processing software and intended interval before extracting a comparison table. A filename or a populated header does not establish that two archives contain the same observables throughout a survey. Define whether the review concerns declared schema, actual availability or numerical compatibility. Those are different questions. The work below exposes the declared order only, without decoding satellite observations, calculating a position or claiming that any actual NiVO receiver produced the example signal set.

Read a complete code with its satellite-system context

RINEX observation codes distinguish an observation type, a frequency band and a tracking attribute. In the GPS example used here, C1C, L1C, D1C and S1C identify different observable categories associated with the indicated signal context. They should not be collapsed into one field named L1. The system designation matters because the detailed meaning of a band or tracking attribute depends on its constellation. Consult the tables for the declared version rather than assuming a familiar three-character label has one universal interpretation across every satellite system and receiver configuration.

Keep the complete code and satellite-system identifier in any derived schema record. Distinguish a declared field from evidence that it contains usable measurements for the required interval. A receiver can declare an observable without supplying a valid sample for every satellite and epoch. Conversely, a summary that omits a code may reflect a reporting choice rather than the original archive. Trace the source of the summary and preserve its selection rules. Do not use the number of listed codes as an independent certificate of tracking quality, ambiguity resolution or positioning accuracy.

NiVO VTOL V7 with a white fuselage, lift rotors, and yellow wing tips
NiVO VTOL V7 with a white fuselage, lift rotors, and yellow wing tips.Source: NiVO / TechnoGIS catalogue materials supplied by the site owner · Catalogue photo
Product context only; this photograph does not depict the constructed examples in this article.

Preserve the ordered list and its continuation lines

The IGS specifications describe SYS / # / OBS TYPES records as system-dependent lists that determine observation order. The RINEX 3.05 header table allows thirteen descriptors on a line, with continuation lines for longer lists and separate lists for different systems. Retain the declared count and the complete ordered sequence. Sorting codes alphabetically may be convenient for checking membership, but a sorted set cannot replace the sequence needed to interpret fields. Keep both representations separately if a review needs to compare membership while also preserving the original record layout.

For a constructed GPS example, one declared order is C1C, L1C, D1C, S1C and another is L1C, C1C, D1C, S1C. The code membership is unchanged, but the first two slots have exchanged roles. No measurements or actual receiver output accompany this example. A comparison must associate each decoded observation with its intended code before comparing values. It must also preserve missing fields and the applicable record structure. Removing a blank field or discarding a continuation line can shift subsequent interpretation even when the remaining text looks orderly in a spreadsheet.

Print the initial declared header records without rewriting

The read-only Python recipe below selects initial-header lines by their label in columns sixty-one through eighty. It deliberately accepts only a declared RINEX 3.05 observation file and stops at END OF HEADER. Continuation lines carrying the same observation-type label are printed with their leading spaces retained. The teaching filename is illustrative. This is a header-record extractor, not a complete RINEX parser: it does not assemble descriptor lists, check their declared counts, validate tracking codes or read later changes carried in event records.

Use the extracted records alongside the accepted source rather than treating the printed text as a new authoritative archive. Record the environment, input identity and any rejected version or missing-header error. Confirm all relevant systems and continuation records manually or with a supported version-aware reader. A file that falls outside this recipe should use the appropriate procedure instead of having its version label edited to pass the guard. The recipe can expose the exact declaration being discussed while leaving observation decoding, event handling and processing acceptance to suitable tools and evidence.

# Bounded initial-header inspection: RINEX 3.05 observations only.
with open("accepted-observations.rnx", encoding="ascii") as stream:
    first = stream.readline()
    if first[:9].strip() != "3.05" or first[20:21] != "O":
        raise ValueError("Use the procedure for this version and file type")
    for line in stream:
        label = line[60:80].strip()
        if label == "END OF HEADER":
            break
        if label == "SYS / # / OBS TYPES":
            print(line.rstrip("\r\n"))
    else:
        raise ValueError("END OF HEADER was not found")

Compare code meaning before comparing numerical columns

After identifying the code sequence, establish the meaning and units of the quantities exposed by the actual reader. Pseudorange, carrier phase and Doppler are different observables and should not be compared as interchangeable numbers. Signal-strength interpretation needs its own declared unit and receiver context. Keep scaling, corrections and missing-value treatment visible in the processing record. A code list supplies schema context, not proof that two producers applied identical conventions or that a selected observation is suitable for the intended carrier-phase processing method.

For a real rover/reference assessment, compare the requested observable identities over the relevant systems, satellites and interval using supported software. Preserve unmatched codes, missing samples and unsupported cases instead of dropping them until table widths agree. If a conversion changes the declared list, trace whether it reordered, renamed, selected or transformed observations. Retain the original and the converter evidence. The header review is useful precisely because it makes that question specific; it does not establish successful PPK, a fixed solution or a measured improvement in a survey result.

Deliver the declared schema with the processing evidence

A useful handoff names the file revision, RINEX version, satellite systems, declared counts and ordered observation codes. Keep the original header lines, including continuations, with the reader or converter identity. Document whether the review covered only the initial header or also later schema-related events. Another analyst should be able to trace a reported column to the original observable without guessing how a table was sorted. Where the available tooling cannot interpret the required profile, retain that limitation and obtain an appropriate supported path before accepting a downstream comparison.

For NiVO positioning discussions, this separates a familiar signal label from the actual schema that gives a measurement its place in the archive. It complements completeness and loss-of-lock reviews while leaving positioning quality to its own evidence. Preserve original observations and distinguish a diagnostic extract from a converted delivery. The result is an audit trail that explains what each field is intended to represent, which order was declared and what still requires verification, so a convenient column layout does not silently become an unsupported assumption about the source data.

Technical references

  1. IGS RINEX 3.05 — system-dependent observables, code tables and header format ↗
  2. IGS RINEX 4.02 — observation-header context and version-specific formats ↗
  3. Python text streams — explicit encoding and read-only iteration ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team