Measuring made simple: What time was it, actually?
In the first post of this series we asked six questions that every measurement has to answer: who measured what, when, where, how and why? Today is about the when. It sounds like the simplest of the six. We have learned that it is the one everything else depends on.
Simple: every device has its own clock
A measuring device does not know what time it is. With each value it records whatever its own clock shows at that moment. If that clock is set wrong, the timestamp is wrong too – and the device does not notice.
On board the SolarWave there are many such clocks: in the energy system, in the data recorder of the boat’s instruments, in the laptop running the logbook software, in every camera, in the pyranometer for solar irradiance. Each was set by somebody at some point; some never were.
Why does this matter so much? Because we want to combine measurements:
- How much power did the motors draw while the boat was heading into the wind?
- Where was the boat when the photo of the dolphin was taken?
- How much sun was shining when the solar modules delivered so little?
Each of these questions links two devices through time. If their clocks disagree, nothing fits any more. One minute sounds like little. But at 5 knots the SolarWave covers about 150 metres in a minute. If the camera is one minute off, the dolphin appears on our map 150 metres away from where we saw it.
And three hours off? Then the motors’ power consumption suddenly belongs to a completely different time of day – for example one when the boat was lying quietly at anchor. That is exactly what happened to us – more on that below.
In depth: what can go wrong
Time zones: the same minute, three different times
The SolarWave sails in Greece. In summer, Eastern European Summer Time applies there, three hours ahead of Coordinated Universal Time (UTC+3). Our office is in Germany, on Central European Summer Time (UTC+2). And many devices work internally in UTC.
One and the same moment is therefore 15:00 on board, 14:00 in the office and 12:00 in the data recorder. That is not an error – as long as you know which time zone each value refers to. It becomes a problem when the time zone is missing or stated wrongly.
Our traps – with examples
We keep a register of every assumption that turned out to be wrong. A good share of it concerns time:
- “The energy data are in UTC.” They were not. The Victron portal stores the data in Greek local time, UTC+3. Our first tables of motor power were therefore three hours off – noticed when comparing them with the sailing data, and corrected the same day.
- “GMT+0 means UTC.” A data export from 2026 carried the label “GMT+0” in its header. Comparison with other sources showed that the values were actually one hour ahead, i.e. UTC+1.
- “The logbook PDFs are in Greek time.” The logbook software converts times on export into the time zone of the computer doing the export. A later re-export of the 2016 season was therefore one hour off from the original. We now determine the offset for each PDF individually by comparing the positions in it with the GPS track.
- Clocks running slow: the clock of the logbook laptop was about 28 seconds behind in 2019 and about 61 seconds behind in 2020.
- Clocks set wrongly: on the houseboat CruisingHome, the clock of the pyranometer laptop ran eight hours behind for four days – probably an American time zone was set. In the data, the sun was therefore strongest in the early morning.
- No clock at all: in 2014 and 2015 the instruments on board at the time recorded power without date and time. We can no longer assign these data to any trip.
None of these errors is dramatic. They are dangerous because you cannot see them: a wrong timestamp looks exactly like a correct one.
Point in time or time span?
In the first post we quoted Falk Viczian: at a point in time, nothing happens. Every measurement takes time, and many of our values are averages over a time span.
The data recorder of the boat’s instruments delivers many values several times per second. We combine them into one-second, one-minute and ten-minute values. A one-minute value from the data recorder with the timestamp 12:05 is, in our data, the average from 12:05:00 to 12:05:59. Other programs stamp the same average with the end of the minute, i.e. 12:06. That is not an error, but anyone who merges two such series without knowing it shifts them against each other by one minute.
The Victron portal is different again, and we only clarified this late. The on-board device does not average. Once a minute it sends the value it has at exactly that instant. Additional values are added for certain events. Only the portal combines the values when it draws charts. In our raw data, moreover, the one-minute cycle is not aligned with the full minute: it runs freely and drifts by a few seconds per day.
A Victron one-minute value is therefore a sample. A short power peak when starting off may be caught exactly or missed entirely. Over a whole day this largely evens out. For exact amounts of energy, the devices have counters that keep track without gaps. This probably also explains occasional outliers in the positions from the Victron gateway: its GPS receiver has poor reception, and each minute only a single instant is recorded instead of a smoothed value.
Daily values also need a definition of when a day begins. Our days begin at midnight Greek local time, so that a day in the data matches the calendar day on board – for the houseboat CruisingHome at midnight German time.
How we check clocks
A clock can only be checked against another clock. For every source we therefore look for an independent second route:
- GPS as reference: satellite navigation provides a very accurate time. The data recorder takes its time from GPS, so it is our reference clock on board.
- Position against position: the logbook software stores a position with every entry. Comparing it with the data recorder’s GPS track shows by how many seconds the logbook clock is off.
- The sun as a clock: the sun is visible in our 360° panoramas. From the boat’s position and the time, one can calculate where it should be in the sky. If that does not match the image, the camera clock is wrong.
- Two instruments on the same system: on the houseboat CruisingHome, the module-level optimisers and the charge controller measure the same solar power. Their one-minute values rise and fall together (correlation 0.98). This also checks their clocks against each other.
Data and method
Our rules
- Internally always UTC. Every source is converted to UTC when it is read in. Only for display and for daily values do we convert back to local time.
- Originals stay unchanged. We do not correct timestamps in the raw data. A known offset is kept as a separate table with a validity period and applied only during analysis.
- Every source has a profile: which clock, which time reference, which known offset, how it was checked.
- Timestamps in ISO 8601, always with time zone, for example
2024-07-15T12:05:00Z(the Z stands for UTC).
Our sources and their clocks
| Source | Rate | Time reference in the original | Known deviations | Checked by |
|---|---|---|---|---|
| Data recorder YDVR (wind, speed, heading, attitude, depth) | up to 18 values/s | UTC from GPS | without GPS reception, file time of the memory card | reference clock |
| Victron portal VRM (energy, motors) | 1 min instantaneous value, free-running cycle, plus values on events | Greek local time, UTC+3 | 2026 export from the memory card: UTC+1 despite the label “GMT+0” | comparison with sailing data |
| Logbook software TripCon | track 30 s | UTC; PDF export in the computer’s time zone | clock 2019 ≈ 28 s, 2020 ≈ 61 s behind | position against GPS track |
| 360° cameras | at most 1 image/min analysed | UTC+3 | – | position of the sun in the image |
| Underwater camera TG-7 | photos, GPS log 30 s | photos UTC+2, log UTC | – | its own GPS log |
| Pyranometer SolarWave | 1 s to 1 min | laptop clock, local time | – | still open |
| Pyranometer CruisingHome | 1 min | laptop clock, CEST | 27–30 Sep 2023 eight hours behind | against solar power (correlation 0.90 after correction) |
| Optimisers and charge controller CruisingHome | 1 min | local time Berlin | – | against each other, correlation 0.98 |
What is still open
- We still want to compare our energy totals from the Victron one-minute values with the devices’ counters. Only then will we know how large the error caused by sampling really is.
- We have found the small lags of the logbook clock (28 and 61 seconds) but have not yet applied them as a correction.
- When the SolarWave is refitted for the 2027 season, all devices are to take their time from one common source. Then the clocks no longer need to be checked afterwards, only monitored.
The next part is about position: where is “the boat”, actually, when three GPS receivers report three different positions?
About this post: The text was written by Claude, an AI language model by Anthropic, based on our joint analysis of the on-board data. For such texts we always state the exact model and who reviewed the content. This English version is an automatic translation; the original is in German.