Channel Zero is derived from meterological instruments, the Thermoelectic Generator and the Data Collection Unit as follows:
07 00 02 00 1b 00 00 2a 00 08 0c 8f 18 e2 7e 6b
38 80 d9 47 c0 c0 c1 37 3c 55 51 f8 13 d4 99 e0
55 e7 69 14 a2 e0 8c 90 15 f7 cf 83 ac 3b 00 28
42 82 00 02 86 28 32 83 00 02 82 90 48 eb 80 5b
Header Data
m[1]=07 identifies the last two digits of the year
m[2]=00 & m[3]=02 identifies the day of the year
to convert this to the day of the year add the hexadecimal values and convert the total to a decimal integer
Ex: Integer.parseInt("00" + "02", 16) = 2
m[4]=00 identifies the hour of the day
m[5]=1b identifies the minutes
m[6]=00 identifies the seconds
m[7]=00 identifies the hundredths of seconds
m[8]=2a identifies the time quality
m[9]=00 identifies the Channel ID
m[11]=08 identifies the Data sample rate
m[12]=0c identifies the Data size in bits 8, 12,or 16
Channel 0 Data
The rest of the file contains data recorded in one minute intervals starting with the time identified in the header data.
To extract the data, the hex characters (without spaces) are added to an array in groups of 3 and then converted to decimal integers
data[0]=8f1 identifies the Rack Temperature
to convert the decimal integer value to degrees Celsius:
Rack_Temp = Rack_Temp * 0.1221 - 273.15
data[1]=8e2 identifies the Hut Temperature
to convert the decimal integer value to degrees Celsius:
Hut_Temp = Hut_Temp * 0.1221 - 273.15
data[2]=7e6 identifies the External Temperature
to convert the decimal integer value to degrees Celsius:
Ext_Temp = Ext_Temp * 0.1221 - 273.15
data[3]=b38 identifies the +12V Power Supply
to convert the decimal integer value to volts:
Twelve_V = Twelve_V * 0.005016
data[4]=80d identifies the +5V Power Supply
to convert the decimal integer value to volts:
Five_V = Five_V * 0.002442
data[5]=947 identifies the Iridium Temperature
to convert the decimal integer value to degrees Celsius:
Iridium_Temp = Iridium_Temp * 0.1221 - 273.15
data[6]=c0c identifies the Wind Generator (AWP) Current
to convert the decimal integer value to the ampere value:
AWP_Current = ((AWP_Current * 0.001221) - 0.2)/ 0.108;
data[7]=0c1 identifies the Rack Heater Current
to convert the decimal integer value to the ampere value:
Rack_Heater_Current = ((Rack_Heater_Current * 0.001221) - 0.2)/ 0.108;
data[8]=373 identifies the Wind Speed
to convert the decimal integer value to miles per hour:
Wind_Speed = Wind_Speed * 0.02442
data[9]=c55 identifies the Wind Direction
to convert the decimal integer value to degrees:
Wind_Direction = Wind_Direction * 0.089133
data[10]=51f identifies the Barometer
to convert the decimal integer value to hPa:
Barometer = Barometer * 0.14652 + 500
data[11]=813 identifies the Ambient Temperature
to convert the decimal integer value to degrees Celsius:
Ambient_Temp = Ambient_Temp * 0.026862 - 80
data[12]=d49 identifies the Sensor Chassis Temperature
to convert the decimal integer value to degrees Celsius:
Sensor_Temp = Sensor_Temp * 0.026862 - 80
data[13]=9e0 identifies the DAW/Iridium Temperature
to convert the decimal integer value to degrees Celsius:
DAW_Temp = DAW_Temp * 0.02442 - 55
data[14]=55e identifies the Hut Heater Current
to convert the decimal integer value to the ampere value:
Hut_Heater_Current = ((Hut_Heater_Current * 0.001221) - 0.2)/ 0.108
data[15]=769 identifies the External Heater Current
to convert the decimal integer value to the ampere value:
Ext_Heater_Current = ((Ext_Heater_Current * 0.001221) - 0.2)/ 0.108
data[16]=14a identifies the Photovoltaic Combined Current
to convert the decimal integer value to the ampere value:
PV_Current = ((PV_Current * .001221) - 0.2)/ 0.108
data[17]=2e0 identifies the Instrument Current
to convert the decimal integer value to the ampere value:
Instrument_Current = ((Instrument_Current * 0.001221) - 0.2)/ 0.416
data[18]=8c9 identifies the Battery Current
to convert the decimal integer value to the ampere value:
Battery_Current = ((Battery_Current * 0.001221) - 2.5)/ 0.405
data[19]=015 identifies the Rack Heater Enable
to convert the decimal integer value to volts:
Rack_Heater_EN = Rack_Heater_EN * 0.001221
data[20]=f7c identifies the Hut Heater Enable
to convert the decimal integer value to volts:
Hut_Heater_EN = Hut_Heater_EN * .001221
data[21]=f83 identifies the Ext. Heater Enable
to convert the decimal integer value to volts:
Ext_Heater_EN = Ext_Heater_EN * .00122
data[22]=ac3 identifies the Battery Voltage
to convert the decimal integer value to volts:
Battery_Voltage = Battery_Voltage * 0.010427
data[23]=b00 identifies the Bus Voltage
to convert the decimal integer value to volts:
Bus_Voltage = Bus_Voltage * 0.010427
data[24]=284 identifies the ?
data[25]=282 identifies the ?
data[26]=000 identifies the ?
data[27]=286 identifies the ?
data[28]=283 identifies the ?
data[29]=283 identifies the ?
data[30]=000 identifies the ?
data[31]=282 identifies the ?
The data types then repeat for each consecutive minute data was collected until the end of the file
Ex. data[32]=904 identifies the Rack Temperature