beautypg.com

Campbell Scientific CR3000 Micrologger User Manual

Page 343

background image

Section 8. Operation

343

 

CR1000.Std.20
CPU:file format.CR1



13.2921.04
13.2921.04
13.2921.04

CSIJSON

CSIJSON files contain header information and data in a JSON

 

format. 

Example: 

"signature": 38611,"environment": {"stationfiname": "11467","tablefiname":
"Test","model": "CR1000","serialfino": "11467",
"osfiversion": "CR1000.Std.21.03","progfiname": "CPU:file format.CR1"},"fields":
[{"name": "battfivoltfiMin","type": "xsd:float",
"process": "Min"},{"name": "PTemp","type": "xsd:float","process": "Smp"}]},
"data": [{"time": "2011-01-06T15:04:15","no": 0,"vals": [13.28,21.29]},
{"time": "2011-01-06T15:04:30","no": 1,"vals": [13.28,21.29]},
{"time": "2011-01-06T15:04:45","no": 2,"vals": [13.28,21.29]},
{"time": "2011-01-06T15:05:00","no": 3,"vals": [13.28,21.29]}]}

Data File-Format Elements

HEADER

File headers provide metadata that describe the data in the file. A TOA5 header
contains the metadata described below. Other data formats contain similar
information unless a non-header format option is selected in the TableFile()
instruction in the CR3000 CRBasic program.

Line 1 – Data Origins

Includes the following metadata series: file type, station name, CR3000 
model name, CR3000 serial number, OS version, CRBasic program 
name, program signature, data‐table name. 

Line 2 – Data-Field Names

Lists the name of individual data fields.  If the field is an element of an 
array, the name will be followed by a comma‐separated list of 
subscripts within parentheses that identifies the array index. For 
example, a variable named “values” that is declared as a two‐by‐two 
array, i.e., 

Public

Values(2,2)