NiVO / BY TECHNOGISGermany · Indonesia
GNSS time interpretation

RMC Dates at UTC Midnight: Keep Drone GNSS Records on the Right Day

Preserve the RMC UTC time, two-digit-year date and status before joining drone GNSS text with other records or assigning a calendar day.

RMC Dates at UTC Midnight: Keep Drone GNSS Records on the Right Day

Identify which clock the exported text represents

A time-only column can place the first record after midnight ahead of the final record from the previous day. When reviewing drone GNSS text, that sorting error can become an apparent reversal or an incorrect join with another timeline. Preserve the date information that belongs to the record before assigning a calendar day. This tutorial examines selected RMC fields in an offline NiVO review context. It uses constructed decoded fields, not a received aircraft log, and does not establish which messages any NiVO installation emits. Begin with the actual receiver, recording application and message profile rather than assuming that every timestamp shares one clock.

Keep the original capture, decoder version and export settings available. Distinguish a receiver-reported time from the time at which an application received or wrote the sentence. A local file modification date is another piece of context, not an automatic replacement for the message date. Ask whether the export combines several sessions, whether it crossed a calendar boundary and whether any application converted timestamps to a local zone. These questions should be resolved before sorting rows or matching them to image events. A table that has lost the date or time-zone context cannot support a reliable reconstruction merely because its time strings look precise.

Read the RMC date, UTC and status in their profile

GPSD documents RMC with a UTC-of-position field, a date expressed as day, month and two-digit year, and a separate status field. Its reference also describes message variations with additional mode or navigation-status fields. Preserve those fields rather than applying one fixed column count to every receiver version. The NovAtel OEM7 GPRMC documentation provides a primary implementation example of UTC, date and position-status fields. That example is receiver-specific evidence, not a claim that a NiVO aircraft uses that receiver family or that another manufacturer assigns every optional field exactly the same way.

A populated date and a valid-looking status are not an absolute timing certificate. The reviewed NovAtel documentation describes a condition in which UTC can initially be calculated with default parameters before valid supporting information becomes available. Use the actual receiver documentation and available time-status evidence when timing quality matters. Likewise, a two-digit year does not itself encode a century. Do not silently resolve it using the operating system date, a guessed session year or a convenient match with another table. Keep the raw field and the documented year-resolution decision separate so another reviewer can assess how the calendar interpretation was established.

Restored NiVO VTOL V3 product image from the supplied brochure
Restored NiVO VTOL V3 product image from the supplied brochure.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.

Trace a constructed midnight pair without inventing an epoch

Consider two fictional decoded RMC bodies. The first contains UTC time 235959.50 and date 211126. The next contains 000000.50 and date 221126. The raw time strings alone would sort the second before the first, while the supplied day fields distinguish the intended boundary in this teaching scenario. The example does not establish an actual session year, a resolved absolute epoch or a measured interval from receiver observations. Treat the apparent calendar progression as constructed context. A real join still requires the correct year interpretation, clock relationship and handling rules for the actual source.

The function below preserves selected strings from a deliberately bounded input profile. Its input is an already decoded sentence body without the dollar delimiter or checksum wrapper. It checks the selected identifiers and simple field shapes, then retains UTC, date, status and trailing fields. It does not validate a raw sentence checksum, resolve the century, check calendar validity or convert the time into an absolute timestamp. Use a suitable receiver-aware decoder before this stage for real records. Keeping these limits explicit prevents a small field-extraction recipe from being mistaken for a complete NMEA parser or a validated synchronization method.

import re

def rmc_clock_fields(body):
    fields = body.split(",")
    if fields[0] not in ("GPRMC", "GNRMC") or len(fields) < 10:
        raise ValueError("outside the selected decoded RMC profile")
    if not re.fullmatch(r"[0-9]{6}(?:\.[0-9]+)?", fields[1]):
        raise ValueError("expected an hhmmss-style field")
    if not re.fullmatch(r"[0-9]{6}", fields[9]):
        raise ValueError("expected a ddmmyy-style field")
    return {"messageId": fields[0], "utcRaw": fields[1],
            "dateRaw": fields[9], "statusRaw": fields[2],
            "trailingFields": fields[10:]}

# Constructed decoded bodies; empty position fields are intentional.
print(rmc_clock_fields("GPRMC,235959.50,A,,,,,,,211126,,,A"))
print(rmc_clock_fields("GNRMC,000000.50,A,,,,,,,221126,,,A"))

Retain warnings and unresolved time context

Keep the observed status field and any additional indicators beside the extracted date and UTC strings. Do not discard warning records and then present the remaining sequence as an unbroken source capture without explaining that selection. A status interpretation belongs to the applicable message and receiver profile. Preserve the producer documentation and actual diagnostics needed to understand it. A checksum result, field shape or decimal precision serves a different purpose from timing quality. These checks may help describe the record, but they do not establish that its time can be aligned with an image event to a particular accuracy.

If a date appears inconsistent with the accepted session evidence, retain both the original value and the discrepancy. Investigate the receiver history, firmware behavior, recording stage and relevant date-resolution rules rather than shifting the date until two traces look aligned. A merged capture may require separating sessions before interpretation. A local-zone display can also obscure which UTC day was reported. Describe any transformation applied by the export application and preserve its settings. The review should explain how the calendar decision was made, including unresolved limitations, instead of leaving the recipient to inherit an undocumented correction hidden inside a sorted spreadsheet.

Join other records only after defining the clock relationship

Before matching RMC text to another GNSS sentence, controller event or image record, define the association rule and the evidence for a shared clock. Nearby row positions are not enough when record types have different rates, buffering or missing entries. Keep the message identity, session scope and original timing fields attached to each candidate match. If the other record supplies only a time of day, identify how its date would be established and where that inference is uncertain. Do not borrow a date from an arbitrary neighboring row simply because it makes a complete timestamp easy to construct.

Evaluate the intended analytical use separately from the convenience of a merged table. A visual timeline may need less evidence than a synchronization result used to support measurement. Record which operation was actually performed and how unmatched or ambiguous records were retained. If the source cannot establish the required relationship, request the relevant recorder and timing documentation rather than manufacturing continuity across midnight. Preserve a derived join under a distinct identity with its rules and limitations. This allows a later reviewer to reproduce or revise the interpretation without losing the original date, UTC and status fields that motivated the investigation.

Deliver the calendar interpretation with its evidence

A useful handoff names the capture revision, receiver profile, decoder, raw RMC time and date, retained status fields and the evidence used to resolve the calendar. Include any local-zone conversion, session separation or join rule that affects the result. State when the inspection stopped at field preservation rather than claiming a completed time synchronization. Another analyst should be able to distinguish a receiver-reported date from an application capture date and understand how a two-digit year was interpreted. A constructed midnight example helps explain the issue, but cannot validate the calendar or clock behavior of a real receiver.

For NiVO positioning discussions, this prevents a familiar spreadsheet convenience from quietly changing the day assigned to a GNSS record. It complements GGA quality and height reviews while addressing the separate date and clock-context problem. The photograph supplies product context only and does not show the constructed recording setup or demonstrate a receiver capability. Keep date, UTC, status and session evidence together throughout the handoff. The recipient then receives a reproducible calendar interpretation and a clear account of what additional timing evidence is needed before the records can support their intended analytical association.

Technical references

  1. GPSD NMEA reference: RMC and date/time context ↗
  2. NovAtel OEM7 primary GPRMC field and UTC behavior documentation ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team