B.1.8.2.2 the data array, B.1.8.3 file example, B.1.8.3 – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 512

Advertising
background image

Appendix B. Campbell Scientific File Formats

B.1.8.2.2 The data Array

The data array is an array of record objects. Each record object will contain the

following subordinate objects:

no An integer that specifies the record number as assigned by the

datalogger.

time Specifies the time stamp assigned by the datalogger.

vals An array of the data values for this record. Each element in this array

must correspond with the equivalent element in the head.fields array.

B.1.8.3 File Example

{

"head": {

"signature:" 21334,

"transaction": "xxxxyyyy",

"environment": {

"station_name": "jon-cr1000",

"table_name": "one_day",

"model": "CR1000",

"serial_no": "1084",

"os_version": "cr1000.std.18",

"dld_name": "lights-web.cr1",

"dld_sig": "31837"

},

"fields": [

{

"name": "temp_degf_Min",

"type": "xsd:float",

"units": "DegF",

"processing": "Min"

},

{

"name": "temp_degf_TMn",

"type": "xsd:dateTime",

"units": "",

"processing": "TMn"

},

{

"name": "temp_degf_Avg",

"type": "xsd:float",

"units": "DegF",

"processing": "Avg"

},

{

"name": "temp_degf_Max",

"type": "xsd:float",

"units": "DegF",

"processing:" "Max"

},

{

"name": "temp_degf_TMx",

"type": "xsd:dateTime",

"units": "",

"processing": "TMx"

}

]

}

"data": [

{

"no": 43,

"time": "2010-01-20T00:00:00",

"vals": [

B-18

Advertising