-
Notifications
You must be signed in to change notification settings - Fork 0
Create samples via File
DavidSL448 edited this page Aug 25, 2020
·
1 revision
The Samples File is a CSV file delimited by comma ,. Each record in the file has a fixed set of columns and a dynamic part according to the Sampling's configuration which the samples are linked to.
| Field | Format | Description |
|---|---|---|
| ID | string | Sampling id (See number 1 in sampling definition). It is the first field into file. Example: 5cda0162e8965c3573158e52 |
| date_time | date | Used to find samples that were measure between a period of time Format: yyyy-MM-dd'T'HH:mm:ss.SSS Example: 2019-04-02T11:06:02.324 |
| sensor_id | string | sensor's id in the respective sampling definition (See number 2 in sampling definition) Example: accelerometer_1 |
| measure_variable* | string | Name of a variable scanned by the Sensor Example: acceleration_x |
| variable_value* | decimal | Value for the scanned variable Example: 0.000160 |
*Columns [measure_variable, variable_value] can be repeated by pairs in a record if the respective sensor can scan multiple variables at the same moment in time.
For upload to sample file , the user can typing the sampling id into file, directly in the sampling field or can selected from the sampling list that it is top of field file.
Here you can download an example CSV with two variables (acceleration_x, acceleration_y) and its values for a sensor (accelerometer_1)