...
The O2A components INGEST and DASHBOARD (and its Data Web Service) use a common data format to exchange time-series data: The NRT (Near Real Time) Data Format.
It uses the SENSOR's parameter codes (URNs, Uniform Resource Names), e.g. vessel:mya_ii:dgps:lat
to describe the data columns in the files.
The data is stored in a simple tabular plain-text format which is describe below.
If a sensor cannot provide data NRT Data Format but a binary or plain-text format instead, a driver (converter) will have to be programmed to convert the data either to a intermediate NRT RAW Data format or to this NRT Data Format.
A number of drivers is already available (see subchapter Drivers).
The following O2A components are involved in / use NRT Data Format.
...
What | How |
---|---|
Character encoding | UTF-8 |
Field / column separator | Tabulator “\t” |
End of record marker | New line “\n” |
Header | The header must consist of a column named “datetime” and 1-n columns having a valid parameter URN (from Sensor.awi.de)
|
Header - Units | Units may be given in square brackets [], following each parameter URN, separated by a space “ “:
Units are optional depending on the O2A component and application.
|
Quality Flags | Quality flags can be added to each data value. These are numbers from 0 to n defined in document not defined yetthe flagging scheme.
|
Date time format | Expected time zone: UTC Allowed date formats:
|
Decimal symbol | Dot "." |
Data values | Decimal values, integer numbers or characters (just no tabulators!)
For use of Data-WS only: The Data-WS only accepts numbers as input for each column except when its unit is "text"! |
Error values | Empty field (simply give a null string, but do not forget to add tabs as data field separator) |
...