B.1.8.2.1.4 head.fields array – Campbell Scientific LoggerNet Datalogger Support Software User Manual
Page 511

Appendix B. Campbell Scientific File Formats
B.1.8.2.1.4 head.fields Array
The fields object is an array of field descriptions for the data contained in this
file. The order and number of field descriptions in this array must match
exactly that of the actual data.
Each field description object will contain the following objects:
name
Specifies the name of the field as assigned by the datalogger
program.
type
Specifies the expected data type for this field. These strings will
include the following:
xsd:string
The data will be expected to be
formatted and treated as string data
xsd:long
The data will be expected to represent
a signed eight byte integer.
xsd:unsignedLong The data will be expected to represent
an unsigned eight byte integer.
xsd:int
The data will be expected to represent
a signed four byte integer.
xsd:unsignedInt The data will be expected to represent
an unsigned four byte integer.
xsd:short
The data will be expected to represent
a signed two byte integer.
xsd:unsignedShort The data will be expected to represent
an unsigned two byte integer.
xsd:byte
The data will be expected to represent
a signed one byte integer.
xsd:unsignedByte The data will be expected to represent
an unsigned one byte integer.
xsd:float
The data will be expected to represent
a four byte floating point number.
xsd:double
The data will be expected to represent
an eight byte floating point number.
xsd:timeStamp
The data will be expected to a time
stamp formatted as a string.
xsd:boolean
The data will be expected to be a
boolean value (true, false, 1, or
0).
units Specifies the units string for this field as assigned by the
datalogger program.
process Specifies the output processing instructions parameters as
specified by the datalogger program.
B-17