From version < 2.1 >
edited by Matej Durcik
on 2022/05/17 14:24
To version 1.1 >
edited by Michael Sibayan
on 2022/05/03 16:48
>
Change comment: Imported from XAR

Summary

Details

Icon Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.mdurcik
1 +XWiki.msibayan
Content
... ... @@ -1,6 +1,4 @@
1 -{{warning}}
2 -As of January 2016 the Measurement File format has been changed from the old tab delimited variables, to the new JSON format.
3 -{{/warning}}
1 +{{warning}}As of January 2016 the Measurement File format has been changed from the old tab delimited variables, to the new JSON format.{{/warning}}
4 4  
5 5  
6 6  The "Measurement File" or "m-file" is an ASCII text, human readable, JSON format file which holds information pertaining to a measurement or group of measurements. In general, a measurement file will hold all data from sensors sampled at a particular time (i.e. - measure a group of five thermocouples at 11:30am on Dec. 1, 2012). However, it is not limited to this, as one could group a single sensor, or even a group of sensors, over an extended period of time. The format of this file is a JSON array of JSON objects containing information about the sensor and it's measurement.
... ... @@ -7,7 +7,8 @@
7 7  
8 8  Below is an example of a sensor named "MySensor" that measures speed and direction with raw measurements of voltage and counts.
9 9  
10 -> {{code language="<Apache>"}}[{"sensorcode":"MySensor","sensorid":102,"variablecode":"Volts","variableid":1,"value":1.54,"units":"V","DateTime":"2016-03-18 19:00:00"}
8 +> {{code language="<Apache"}}
9 +[{"sensorcode":"MySensor","sensorid":102,"variablecode":"Volts","variableid":1,"value":1.54,"units":"V","DateTime":"2016-03-18 19:00:00"}
11 11  ,{"sensorcode":"MySensor","sensorid":102,"variablecode":"Direction","variableid":3,"value":224,"units":"Degrees","DateTime":"2016-03-18 19:00:00"}
12 12  ,{"sensorcode":"MySensor","sensorid":102,"variablecode":"Counts","variableid":1,"value":6,"units":"#","DateTime":"2016-03-18 19:00:00"}
13 13  ,{"sensorcode":"MySensor","sensorid":102,"variablecode":"Velocity","variableid":4,"value":0.112,"units":"m/s","DateTime":"2016-03-18 19:00:00"}
... ... @@ -15,7 +15,6 @@
15 15  {{/code}}
16 16  
17 17  Useful fields:
18 -
19 19  * SensorCode - Unique name of a sensor (string)
20 20  * VariableCode - Unique name of a variable (string)
21 21  * Value - Numeric value of the measurement (float)
... ... @@ -27,10 +27,9 @@
27 27  * DBID - The user account that manages the sensor information (string)
28 28  * DataTable - The table within the schema to which data is stored (string)
29 29  
30 -{{info}}
31 -The information below is provided for reference and is no longer the standard format.
32 -{{/info}}
33 33  
29 +{{info}}The information below is provided for reference and is no longer the standard format.{{/info}}
30 +
34 34  The "Measurement File" or "m-file" is an ASCII text, human readable, tab-delimited file which holds information pertaining to a measurement or group of measurements. In general, a measurement file will hold all data from sensors sampled at a particular time (i.e. - measure a group of five thermocouples at 11:30am on Dec. 1, 2012). However, it is not limited to this, as one could group a single sensor, or even a group of sensors, over an extended period of time.
35 35  
36 36  **The measurement file has strict conventions. Measurement files uploaded to the LEO Data Server must follow these guidelines**
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 13.10.5 - Documentation